{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import os\n",
    "from nltk.parse import stanford\n",
    "import nltk\n",
    "from itertools import chain\n",
    "\n",
    "os.environ['STANFORD_PARSER'] = '/home/shanu/nltk/jars/stanford-parser.jar'\n",
    "os.environ['STANFORD_MODELS'] = '/home/shanu/nltk/jars/stanford-parser-3.7.0-models.jar'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# Dependency Tree\n",
    "from nltk.parse.stanford import StanfordDependencyParser\n",
    "dep_parser=StanfordDependencyParser(model_path=\"/home/shanu/nltk/jars/englishPCFG.ser.gz\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def lca(tree, index1, index2):\n",
    "    node = index1\n",
    "    path1 = []\n",
    "    path2 = []\n",
    "    path1.append(index1)\n",
    "    path2.append(index2)\n",
    "    while(node != tree.root):\n",
    "        node = tree.nodes[node['head']]\n",
    "        path1.append(node)\n",
    "    node = index2\n",
    "    while(node != tree.root):\n",
    "        node = tree.nodes[node['head']]\n",
    "        path2.append(node)\n",
    "    for l1, l2 in zip(path1[::-1],path2[::-1]):\n",
    "        if(l1==l2):\n",
    "            temp = l1\n",
    "    return temp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def path_lca(tree, node, lca_node):\n",
    "    path = []\n",
    "    path.append(node)\n",
    "    while(node != lca_node):\n",
    "        node = tree.nodes[node['head']]\n",
    "        path.append(node)\n",
    "    return path"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def seq(lca):\n",
    "    l=[lca]\n",
    "    for key in tree.nodes[lca]['deps']:\n",
    "        for i in tree.nodes[lca]['deps'][key]:\n",
    "            l.extend(seq(i))\n",
    "    return l"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import _pickle \n",
    "f = open('../data/training_data', 'rb')\n",
    "sentences, e1, e2 = _pickle.load(f)\n",
    "f.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "sentences[7588] = 'The reaction mixture is kept in the dark at room temperature for 1.5 hours .'\n",
    "sentences[2608] = \"This strawberry sauce has about a million uses , is freezer-friendly , and is so much better than that jar of Smuckers strawberry sauce that you 've had sitting in your fridge since that time you made banana splits 1.5 years ago .\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# sentences[2590] = \"The pendant with the bail measure 1.25'' .\"\n",
    "# sentences[2664] = \"The cabinet encloses a 6.5 inch cone woofer , 4 inch cone midrange , and a 0.86 inch balanced dome tweeter .\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "length = len(sentences)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "words_seq = []\n",
    "pos_tags_seq = []\n",
    "deps_seq = []\n",
    "word_path1 = []\n",
    "word_path2 = []\n",
    "dep_path1 = []\n",
    "dep_path2 = []\n",
    "pos_tags_path1 = []\n",
    "pos_tags_path2 = []\n",
    "childs_path1 = []\n",
    "childs_path2 = []\n",
    "pos_path1 = []\n",
    "pos_path2 = []\n",
    "for i in range(length):\n",
    "    word_path1.append(0)\n",
    "    word_path2.append(0)\n",
    "    dep_path1.append(0)\n",
    "    dep_path2.append(0)\n",
    "    pos_tags_path1.append(0)\n",
    "    pos_tags_path2.append(0)\n",
    "    words_seq.append(0)\n",
    "    pos_tags_seq.append(0)\n",
    "    deps_seq.append(0)\n",
    "    childs_path1.append(0)\n",
    "    childs_path2.append(0)\n",
    "    pos_path1.append(0)\n",
    "    pos_path2.append(0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 success\n",
      "1 success\n",
      "2 success\n",
      "3 success\n",
      "4 success\n",
      "5 success\n",
      "6 success\n",
      "7 success\n",
      "8 success\n",
      "9 success\n",
      "10 success\n",
      "11 success\n",
      "12 success\n",
      "13 success\n",
      "14 success\n",
      "15 success\n",
      "16 success\n",
      "17 success\n",
      "18 success\n",
      "19 success\n",
      "20 success\n",
      "21 success\n",
      "22 success\n",
      "23 success\n",
      "24 success\n",
      "25 success\n",
      "26 success\n",
      "27 success\n",
      "28 success\n",
      "29 success\n",
      "30 success\n",
      "31 success\n",
      "32 success\n",
      "33 success\n",
      "34 success\n",
      "35 success\n",
      "36 success\n",
      "37 success\n",
      "38 success\n",
      "39 success\n",
      "40 success\n",
      "41 success\n",
      "42 success\n",
      "43 success\n",
      "44 success\n",
      "45 success\n",
      "46 success\n",
      "47 success\n",
      "48 success\n",
      "49 success\n",
      "50 success\n",
      "51 success\n",
      "52 success\n",
      "53 success\n",
      "54 success\n",
      "55 success\n",
      "56 success\n",
      "57 success\n",
      "58 success\n",
      "59 success\n",
      "60 success\n",
      "61 success\n",
      "62 success\n",
      "63 success\n",
      "64 success\n",
      "65 success\n",
      "66 success\n",
      "67 success\n",
      "68 success\n",
      "69 success\n",
      "70 success\n",
      "71 success\n",
      "72 success\n",
      "73 success\n",
      "74 success\n",
      "75 success\n",
      "76 success\n",
      "77 success\n",
      "78 success\n",
      "79 success\n",
      "80 success\n",
      "81 success\n",
      "82 success\n",
      "83 success\n",
      "84 success\n",
      "85 success\n",
      "86 success\n",
      "87 success\n",
      "88 success\n",
      "89 success\n",
      "90 success\n",
      "91 success\n",
      "92 success\n",
      "93 success\n",
      "94 success\n",
      "95 success\n",
      "96 success\n",
      "97 success\n",
      "98 success\n",
      "99 success\n",
      "100 success\n",
      "101 success\n",
      "102 success\n",
      "103 success\n",
      "104 success\n",
      "105 success\n",
      "106 success\n",
      "107 success\n",
      "108 success\n",
      "109 success\n",
      "110 success\n",
      "111 success\n",
      "112 success\n",
      "113 success\n",
      "114 success\n",
      "115 success\n",
      "116 success\n",
      "117 success\n",
      "118 success\n",
      "119 success\n",
      "120 success\n",
      "121 success\n",
      "122 success\n",
      "123 success\n",
      "124 success\n",
      "125 success\n",
      "126 success\n",
      "127 success\n",
      "128 success\n",
      "129 success\n",
      "130 success\n",
      "131 success\n",
      "132 success\n",
      "133 success\n",
      "134 success\n",
      "135 success\n",
      "136 success\n",
      "137 success\n",
      "138 success\n",
      "139 success\n",
      "140 success\n",
      "141 success\n",
      "142 success\n",
      "143 success\n",
      "144 success\n",
      "145 success\n",
      "146 success\n",
      "147 success\n",
      "148 success\n",
      "149 success\n",
      "150 success\n",
      "151 success\n",
      "152 success\n",
      "153 success\n",
      "154 success\n",
      "155 success\n",
      "156 success\n",
      "157 success\n",
      "158 success\n",
      "159 success\n",
      "160 success\n",
      "161 success\n",
      "162 success\n",
      "163 success\n",
      "164 success\n",
      "165 success\n",
      "166 success\n",
      "167 success\n",
      "168 success\n",
      "169 success\n",
      "170 success\n",
      "171 success\n",
      "172 success\n",
      "173 success\n",
      "174 success\n",
      "175 success\n",
      "176 success\n",
      "177 success\n",
      "178 success\n",
      "179 success\n",
      "180 success\n",
      "181 success\n",
      "182 success\n",
      "183 success\n",
      "184 success\n",
      "185 success\n",
      "186 success\n",
      "187 success\n",
      "188 success\n",
      "189 success\n",
      "190 success\n",
      "191 success\n",
      "192 success\n",
      "193 success\n",
      "194 success\n",
      "195 success\n",
      "196 success\n",
      "197 success\n",
      "198 success\n",
      "199 success\n",
      "200 success\n",
      "201 success\n",
      "202 success\n",
      "203 success\n",
      "204 success\n",
      "205 success\n",
      "206 success\n",
      "207 success\n",
      "208 success\n",
      "209 success\n",
      "210 success\n",
      "211 success\n",
      "212 success\n",
      "213 success\n",
      "214 success\n",
      "215 success\n",
      "216 success\n",
      "217 success\n",
      "218 success\n",
      "219 success\n",
      "220 success\n",
      "221 success\n",
      "222 success\n",
      "223 success\n",
      "224 success\n",
      "225 success\n",
      "226 success\n",
      "227 success\n",
      "228 success\n",
      "229 success\n",
      "230 success\n",
      "231 success\n",
      "232 success\n",
      "233 success\n",
      "234 success\n",
      "235 success\n",
      "236 success\n",
      "237 success\n",
      "238 success\n",
      "239 success\n",
      "240 success\n",
      "241 success\n",
      "242 success\n",
      "243 success\n",
      "244 success\n",
      "245 success\n",
      "246 success\n",
      "247 success\n",
      "248 success\n",
      "249 success\n",
      "250 success\n",
      "251 success\n",
      "252 success\n",
      "253 success\n",
      "254 success\n",
      "255 success\n",
      "256 success\n",
      "257 success\n",
      "258 success\n",
      "259 success\n",
      "260 success\n",
      "261 success\n",
      "262 success\n",
      "263 success\n",
      "264 success\n",
      "265 success\n",
      "266 success\n",
      "267 success\n",
      "268 success\n",
      "269 success\n",
      "270 success\n",
      "271 success\n",
      "272 success\n",
      "273 success\n",
      "274 success\n",
      "275 success\n",
      "276 success\n",
      "277 success\n",
      "278 success\n",
      "279 success\n",
      "280 success\n",
      "281 success\n",
      "282 success\n",
      "283 success\n",
      "284 success\n",
      "285 success\n",
      "286 success\n",
      "287 success\n",
      "288 success\n",
      "289 success\n",
      "290 success\n",
      "291 success\n",
      "292 success\n",
      "293 success\n",
      "294 success\n",
      "295 success\n",
      "296 success\n",
      "297 success\n",
      "298 success\n",
      "299 success\n",
      "300 success\n",
      "301 success\n",
      "302 success\n",
      "303 success\n",
      "304 success\n",
      "305 success\n",
      "306 success\n",
      "307 success\n",
      "308 success\n",
      "309 success\n",
      "310 success\n",
      "311 success\n",
      "312 success\n",
      "313 success\n",
      "314 success\n",
      "315 success\n",
      "316 success\n",
      "317 success\n",
      "318 success\n",
      "319 success\n",
      "320 success\n",
      "321 success\n",
      "322 success\n",
      "323 success\n",
      "324 success\n",
      "325 success\n",
      "326 success\n",
      "327 success\n",
      "328 success\n",
      "329 success\n",
      "330 success\n",
      "331 success\n",
      "332 success\n",
      "333 success\n",
      "334 success\n",
      "335 success\n",
      "336 success\n",
      "337 success\n",
      "338 success\n",
      "339 success\n",
      "340 success\n",
      "341 success\n",
      "342 success\n",
      "343 success\n",
      "344 success\n",
      "345 success\n",
      "346 success\n",
      "347 success\n",
      "348 success\n",
      "349 success\n",
      "350 success\n",
      "351 success\n",
      "352 success\n",
      "353 success\n",
      "354 success\n",
      "355 success\n",
      "356 success\n",
      "357 success\n",
      "358 success\n",
      "359 success\n",
      "360 success\n",
      "361 success\n",
      "362 success\n",
      "363 success\n",
      "364 success\n",
      "365 success\n",
      "366 success\n",
      "367 success\n",
      "368 success\n",
      "369 success\n",
      "370 success\n",
      "371 success\n",
      "372 success\n",
      "373 success\n",
      "374 success\n",
      "375 success\n",
      "376 success\n",
      "377 success\n",
      "378 success\n",
      "379 success\n",
      "380 success\n",
      "381 success\n",
      "382 success\n",
      "383 success\n",
      "384 success\n",
      "385 success\n",
      "386 success\n",
      "387 success\n",
      "388 success\n",
      "389 success\n",
      "390 success\n",
      "391 success\n",
      "392 success\n",
      "393 success\n",
      "394 success\n",
      "395 success\n",
      "396 success\n",
      "397 success\n",
      "398 success\n",
      "399 success\n",
      "400 success\n",
      "401 success\n",
      "402 success\n",
      "403 success\n",
      "404 success\n",
      "405 success\n",
      "406 success\n",
      "407 success\n",
      "408 success\n",
      "409 success\n",
      "410 success\n",
      "411 success\n",
      "412 success\n",
      "413 success\n",
      "414 success\n",
      "415 success\n",
      "416 success\n",
      "417 success\n",
      "418 success\n",
      "419 success\n",
      "420 success\n",
      "421 success\n",
      "422 success\n",
      "423 success\n",
      "424 success\n",
      "425 success\n",
      "426 success\n",
      "427 success\n",
      "428 success\n",
      "429 success\n",
      "430 success\n",
      "431 success\n",
      "432 success\n",
      "433 success\n",
      "434 success\n",
      "435 success\n",
      "436 success\n",
      "437 success\n",
      "438 success\n",
      "439 success\n",
      "440 success\n",
      "441 success\n",
      "442 success\n",
      "443 success\n",
      "444 success\n",
      "445 success\n",
      "446 success\n",
      "447 success\n",
      "448 success\n",
      "449 success\n",
      "450 success\n",
      "451 success\n",
      "452 success\n",
      "453 success\n",
      "454 success\n",
      "455 success\n",
      "456 success\n",
      "457 success\n",
      "458 success\n",
      "459 success\n",
      "460 success\n",
      "461 success\n",
      "462 success\n",
      "463 success\n",
      "464 success\n",
      "465 success\n",
      "466 success\n",
      "467 success\n",
      "468 success\n",
      "469 success\n",
      "470 success\n",
      "471 success\n",
      "472 success\n",
      "473 success\n",
      "474 success\n",
      "475 success\n",
      "476 success\n",
      "477 success\n",
      "478 success\n",
      "479 success\n",
      "480 success\n",
      "481 success\n",
      "482 success\n",
      "483 success\n",
      "484 success\n",
      "485 success\n",
      "486 success\n",
      "487 success\n",
      "488 success\n",
      "489 success\n",
      "490 success\n",
      "491 success\n",
      "492 success\n",
      "493 success\n",
      "494 success\n",
      "495 success\n",
      "496 success\n",
      "497 success\n",
      "498 success\n",
      "499 success\n",
      "500 success\n",
      "501 success\n",
      "502 success\n",
      "503 success\n",
      "504 success\n",
      "505 success\n",
      "506 success\n",
      "507 success\n",
      "508 success\n",
      "509 success\n",
      "510 success\n",
      "511 success\n",
      "512 success\n",
      "513 success\n",
      "514 success\n",
      "515 success\n",
      "516 success\n",
      "517 success\n",
      "518 success\n",
      "519 success\n",
      "520 success\n",
      "521 success\n",
      "522 success\n",
      "523 success\n",
      "524 success\n",
      "525 success\n",
      "526 success\n",
      "527 success\n",
      "528 success\n",
      "529 success\n",
      "530 success\n",
      "531 success\n",
      "532 success\n",
      "533 success\n",
      "534 success\n",
      "535 success\n",
      "536 success\n",
      "537 success\n",
      "538 success\n",
      "539 success\n",
      "540 success\n",
      "541 success\n",
      "542 success\n",
      "543 success\n",
      "544 success\n",
      "545 success\n",
      "546 success\n",
      "547 success\n",
      "548 success\n",
      "549 success\n",
      "550 success\n",
      "551 success\n",
      "552 success\n",
      "553 success\n",
      "554 success\n",
      "555 success\n",
      "556 success\n",
      "557 success\n",
      "558 success\n",
      "559 success\n",
      "560 success\n",
      "561 success\n",
      "562 success\n",
      "563 success\n",
      "564 success\n",
      "565 success\n",
      "566 success\n",
      "567 success\n",
      "568 success\n",
      "569 success\n",
      "570 success\n",
      "571 success\n",
      "572 success\n",
      "573 success\n",
      "574 success\n",
      "575 success\n",
      "576 success\n",
      "577 success\n",
      "578 success\n",
      "579 success\n",
      "580 success\n",
      "581 success\n",
      "582 success\n",
      "583 success\n",
      "584 success\n",
      "585 success\n",
      "586 success\n",
      "587 success\n",
      "588 success\n",
      "589 success\n",
      "590 success\n",
      "591 success\n",
      "592 success\n",
      "593 success\n",
      "594 success\n",
      "595 success\n",
      "596 success\n",
      "597 success\n",
      "598 success\n",
      "599 success\n",
      "600 success\n",
      "601 success\n",
      "602 success\n",
      "603 success\n",
      "604 success\n",
      "605 success\n",
      "606 success\n",
      "607 success\n",
      "608 success\n",
      "609 success\n",
      "610 success\n",
      "611 success\n",
      "612 success\n",
      "613 success\n",
      "614 success\n",
      "615 success\n",
      "616 success\n",
      "617 success\n",
      "618 success\n",
      "619 success\n",
      "620 success\n",
      "621 success\n",
      "622 success\n",
      "623 success\n",
      "624 success\n",
      "625 success\n",
      "626 success\n",
      "627 success\n",
      "628 success\n",
      "629 success\n",
      "630 success\n",
      "631 success\n",
      "632 success\n",
      "633 success\n",
      "634 success\n",
      "635 success\n",
      "636 success\n",
      "637 success\n",
      "638 success\n",
      "639 success\n",
      "640 success\n",
      "641 success\n",
      "642 success\n",
      "643 success\n",
      "644 success\n",
      "645 success\n",
      "646 success\n",
      "647 success\n",
      "648 success\n",
      "649 success\n",
      "650 success\n",
      "651 success\n",
      "652 success\n",
      "653 success\n",
      "654 success\n",
      "655 success\n",
      "656 success\n",
      "657 success\n",
      "658 success\n",
      "659 success\n",
      "660 success\n",
      "661 success\n",
      "662 success\n",
      "663 success\n",
      "664 success\n",
      "665 success\n",
      "666 success\n",
      "667 success\n",
      "668 success\n",
      "669 success\n",
      "670 success\n",
      "671 success\n",
      "672 success\n",
      "673 success\n",
      "674 success\n",
      "675 success\n",
      "676 success\n",
      "677 success\n",
      "678 success\n",
      "679 success\n",
      "680 success\n",
      "681 success\n",
      "682 success\n",
      "683 success\n",
      "684 success\n",
      "685 success\n",
      "686 success\n",
      "687 success\n",
      "688 success\n",
      "689 success\n",
      "690 success\n",
      "691 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "692 success\n",
      "693 success\n",
      "694 success\n",
      "695 success\n",
      "696 success\n",
      "697 success\n",
      "698 success\n",
      "699 success\n",
      "700 success\n",
      "701 success\n",
      "702 success\n",
      "703 success\n",
      "704 success\n",
      "705 success\n",
      "706 success\n",
      "707 success\n",
      "708 success\n",
      "709 success\n",
      "710 success\n",
      "711 success\n",
      "712 success\n",
      "713 success\n",
      "714 success\n",
      "715 success\n",
      "716 success\n",
      "717 success\n",
      "718 success\n",
      "719 success\n",
      "720 success\n",
      "721 success\n",
      "722 success\n",
      "723 success\n",
      "724 success\n",
      "725 success\n",
      "726 success\n",
      "727 success\n",
      "728 success\n",
      "729 success\n",
      "730 success\n",
      "731 success\n",
      "732 success\n",
      "733 success\n",
      "734 success\n",
      "735 success\n",
      "736 success\n",
      "737 success\n",
      "738 success\n",
      "739 success\n",
      "740 success\n",
      "741 success\n",
      "742 success\n",
      "743 success\n",
      "744 success\n",
      "745 success\n",
      "746 success\n",
      "747 success\n",
      "748 success\n",
      "749 success\n",
      "750 success\n",
      "751 success\n",
      "752 success\n",
      "753 success\n",
      "754 success\n",
      "755 success\n",
      "756 success\n",
      "757 success\n",
      "758 success\n",
      "759 success\n",
      "760 success\n",
      "761 success\n",
      "762 success\n",
      "763 success\n",
      "764 success\n",
      "765 success\n",
      "766 success\n",
      "767 success\n",
      "768 success\n",
      "769 success\n",
      "770 success\n",
      "771 success\n",
      "772 success\n",
      "773 success\n",
      "774 success\n",
      "775 success\n",
      "776 success\n",
      "777 success\n",
      "778 success\n",
      "779 success\n",
      "780 success\n",
      "781 success\n",
      "782 success\n",
      "783 success\n",
      "784 success\n",
      "785 success\n",
      "786 success\n",
      "787 success\n",
      "788 success\n",
      "789 success\n",
      "790 success\n",
      "791 success\n",
      "792 success\n",
      "793 success\n",
      "794 success\n",
      "795 success\n",
      "796 success\n",
      "797 success\n",
      "798 success\n",
      "799 success\n",
      "800 success\n",
      "801 success\n",
      "802 success\n",
      "803 success\n",
      "804 success\n",
      "805 success\n",
      "806 success\n",
      "807 success\n",
      "808 success\n",
      "809 success\n",
      "810 success\n",
      "811 success\n",
      "812 success\n",
      "813 success\n",
      "814 success\n",
      "815 success\n",
      "816 success\n",
      "817 success\n",
      "818 success\n",
      "819 success\n",
      "820 success\n",
      "821 success\n",
      "822 success\n",
      "823 success\n",
      "824 success\n",
      "825 success\n",
      "826 success\n",
      "827 success\n",
      "828 success\n",
      "829 success\n",
      "830 success\n",
      "831 success\n",
      "832 success\n",
      "833 success\n",
      "834 success\n",
      "835 success\n",
      "836 success\n",
      "837 success\n",
      "838 success\n",
      "839 success\n",
      "840 success\n",
      "841 success\n",
      "842 success\n",
      "843 success\n",
      "844 success\n",
      "845 success\n",
      "846 success\n",
      "847 success\n",
      "848 success\n",
      "849 success\n",
      "850 success\n",
      "851 success\n",
      "852 success\n",
      "853 success\n",
      "854 success\n",
      "855 success\n",
      "856 success\n",
      "857 success\n",
      "858 success\n",
      "859 success\n",
      "860 success\n",
      "861 success\n",
      "862 success\n",
      "863 success\n",
      "864 success\n",
      "865 success\n",
      "866 success\n",
      "867 success\n",
      "868 success\n",
      "869 success\n",
      "870 success\n",
      "871 success\n",
      "872 success\n",
      "873 success\n",
      "874 success\n",
      "875 success\n",
      "876 success\n",
      "877 success\n",
      "878 success\n",
      "879 success\n",
      "880 success\n",
      "881 success\n",
      "882 success\n",
      "883 success\n",
      "884 success\n",
      "885 success\n",
      "886 success\n",
      "887 success\n",
      "888 success\n",
      "889 success\n",
      "890 success\n",
      "891 success\n",
      "892 success\n",
      "893 success\n",
      "894 success\n",
      "895 success\n",
      "896 success\n",
      "897 success\n",
      "898 success\n",
      "899 success\n",
      "900 success\n",
      "901 success\n",
      "902 success\n",
      "903 success\n",
      "904 success\n",
      "905 success\n",
      "906 success\n",
      "907 success\n",
      "908 success\n",
      "909 success\n",
      "910 success\n",
      "911 success\n",
      "912 success\n",
      "913 success\n",
      "914 success\n",
      "915 success\n",
      "916 success\n",
      "917 success\n",
      "918 success\n",
      "919 success\n",
      "920 success\n",
      "921 success\n",
      "922 success\n",
      "923 success\n",
      "924 success\n",
      "925 success\n",
      "926 success\n",
      "927 success\n",
      "928 success\n",
      "929 success\n",
      "930 success\n",
      "931 success\n",
      "932 success\n",
      "933 success\n",
      "934 success\n",
      "935 success\n",
      "936 success\n",
      "937 success\n",
      "938 success\n",
      "939 success\n",
      "940 success\n",
      "941 success\n",
      "942 success\n",
      "943 success\n",
      "944 success\n",
      "945 success\n",
      "946 success\n",
      "947 success\n",
      "948 success\n",
      "949 success\n",
      "950 success\n",
      "951 success\n",
      "952 success\n",
      "953 success\n",
      "954 success\n",
      "955 success\n",
      "956 success\n",
      "957 success\n",
      "958 success\n",
      "959 success\n",
      "960 success\n",
      "961 success\n",
      "962 success\n",
      "963 success\n",
      "964 success\n",
      "965 success\n",
      "966 success\n",
      "967 success\n",
      "968 success\n",
      "969 success\n",
      "970 success\n",
      "971 success\n",
      "972 success\n",
      "973 success\n",
      "974 success\n",
      "975 success\n",
      "976 success\n",
      "977 success\n",
      "978 success\n",
      "979 success\n",
      "980 success\n",
      "981 success\n",
      "982 success\n",
      "983 success\n",
      "984 success\n",
      "985 success\n",
      "986 success\n",
      "987 success\n",
      "988 success\n",
      "989 success\n",
      "990 success\n",
      "991 success\n",
      "992 success\n",
      "993 success\n",
      "994 success\n",
      "995 success\n",
      "996 success\n",
      "997 success\n",
      "998 success\n",
      "999 success\n",
      "1000 success\n",
      "1001 success\n",
      "1002 success\n",
      "1003 success\n",
      "1004 success\n",
      "1005 success\n",
      "1006 success\n",
      "1007 success\n",
      "1008 success\n",
      "1009 success\n",
      "1010 success\n",
      "1011 success\n",
      "1012 success\n",
      "1013 success\n",
      "1014 success\n",
      "1015 success\n",
      "1016 success\n",
      "1017 success\n",
      "1018 success\n",
      "1019 success\n",
      "1020 success\n",
      "1021 success\n",
      "1022 success\n",
      "1023 success\n",
      "1024 success\n",
      "1025 success\n",
      "1026 success\n",
      "1027 success\n",
      "1028 success\n",
      "1029 success\n",
      "1030 success\n",
      "1031 success\n",
      "1032 success\n",
      "1033 success\n",
      "1034 success\n",
      "1035 success\n",
      "1036 success\n",
      "1037 success\n",
      "1038 success\n",
      "1039 success\n",
      "1040 success\n",
      "1041 success\n",
      "1042 success\n",
      "1043 success\n",
      "1044 success\n",
      "1045 success\n",
      "1046 success\n",
      "1047 success\n",
      "1048 success\n",
      "1049 success\n",
      "1050 success\n",
      "1051 success\n",
      "1052 success\n",
      "1053 success\n",
      "1054 success\n",
      "1055 success\n",
      "1056 success\n",
      "1057 success\n",
      "1058 success\n",
      "1059 success\n",
      "1060 success\n",
      "1061 success\n",
      "1062 success\n",
      "1063 success\n",
      "1064 success\n",
      "1065 success\n",
      "1066 success\n",
      "1067 success\n",
      "1068 success\n",
      "1069 success\n",
      "1070 success\n",
      "1071 success\n",
      "1072 success\n",
      "1073 success\n",
      "1074 success\n",
      "1075 success\n",
      "1076 success\n",
      "1077 success\n",
      "1078 success\n",
      "1079 success\n",
      "1080 success\n",
      "1081 success\n",
      "1082 success\n",
      "1083 success\n",
      "1084 success\n",
      "1085 success\n",
      "1086 success\n",
      "1087 success\n",
      "1088 success\n",
      "1089 success\n",
      "1090 success\n",
      "1091 success\n",
      "1092 success\n",
      "1093 success\n",
      "1094 success\n",
      "1095 success\n",
      "1096 success\n",
      "1097 success\n",
      "1098 success\n",
      "1099 success\n",
      "1100 success\n",
      "1101 success\n",
      "1102 success\n",
      "1103 success\n",
      "1104 success\n",
      "1105 success\n",
      "1106 success\n",
      "1107 success\n",
      "1108 success\n",
      "1109 success\n",
      "1110 success\n",
      "1111 success\n",
      "1112 success\n",
      "1113 success\n",
      "1114 success\n",
      "1115 success\n",
      "1116 success\n",
      "1117 success\n",
      "1118 success\n",
      "1119 success\n",
      "1120 success\n",
      "1121 success\n",
      "1122 success\n",
      "1123 success\n",
      "1124 success\n",
      "1125 success\n",
      "1126 success\n",
      "1127 success\n",
      "1128 success\n",
      "1129 success\n",
      "1130 success\n",
      "1131 success\n",
      "1132 success\n",
      "1133 success\n",
      "1134 success\n",
      "1135 success\n",
      "1136 success\n",
      "1137 success\n",
      "1138 success\n",
      "1139 success\n",
      "1140 success\n",
      "1141 success\n",
      "1142 success\n",
      "1143 success\n",
      "1144 success\n",
      "1145 success\n",
      "1146 success\n",
      "1147 success\n",
      "1148 success\n",
      "1149 success\n",
      "1150 success\n",
      "1151 success\n",
      "1152 success\n",
      "1153 success\n",
      "1154 success\n",
      "1155 success\n",
      "1156 success\n",
      "1157 success\n",
      "1158 success\n",
      "1159 success\n",
      "1160 success\n",
      "1161 success\n",
      "1162 success\n",
      "1163 success\n",
      "1164 success\n",
      "1165 success\n",
      "1166 success\n",
      "1167 success\n",
      "1168 success\n",
      "1169 success\n",
      "1170 success\n",
      "1171 success\n",
      "1172 success\n",
      "1173 success\n",
      "1174 success\n",
      "1175 success\n",
      "1176 success\n",
      "1177 success\n",
      "1178 success\n",
      "1179 success\n",
      "1180 success\n",
      "1181 success\n",
      "1182 success\n",
      "1183 success\n",
      "1184 success\n",
      "1185 success\n",
      "1186 success\n",
      "1187 success\n",
      "1188 success\n",
      "1189 success\n",
      "1190 success\n",
      "1191 success\n",
      "1192 success\n",
      "1193 success\n",
      "1194 success\n",
      "1195 success\n",
      "1196 success\n",
      "1197 success\n",
      "1198 success\n",
      "1199 success\n",
      "1200 success\n",
      "1201 success\n",
      "1202 success\n",
      "1203 success\n",
      "1204 success\n",
      "1205 success\n",
      "1206 success\n",
      "1207 success\n",
      "1208 success\n",
      "1209 success\n",
      "1210 success\n",
      "1211 success\n",
      "1212 success\n",
      "1213 success\n",
      "1214 success\n",
      "1215 success\n",
      "1216 success\n",
      "1217 success\n",
      "1218 success\n",
      "1219 success\n",
      "1220 success\n",
      "1221 success\n",
      "1222 success\n",
      "1223 success\n",
      "1224 success\n",
      "1225 success\n",
      "1226 success\n",
      "1227 success\n",
      "1228 success\n",
      "1229 success\n",
      "1230 success\n",
      "1231 success\n",
      "1232 success\n",
      "1233 success\n",
      "1234 success\n",
      "1235 success\n",
      "1236 success\n",
      "1237 success\n",
      "1238 success\n",
      "1239 success\n",
      "1240 success\n",
      "1241 success\n",
      "1242 success\n",
      "1243 success\n",
      "1244 success\n",
      "1245 success\n",
      "1246 success\n",
      "1247 success\n",
      "1248 success\n",
      "1249 success\n",
      "1250 success\n",
      "1251 success\n",
      "1252 success\n",
      "1253 success\n",
      "1254 success\n",
      "1255 success\n",
      "1256 success\n",
      "1257 success\n",
      "1258 success\n",
      "1259 success\n",
      "1260 success\n",
      "1261 success\n",
      "1262 success\n",
      "1263 success\n",
      "1264 success\n",
      "1265 success\n",
      "1266 success\n",
      "1267 success\n",
      "1268 success\n",
      "1269 success\n",
      "1270 success\n",
      "1271 success\n",
      "1272 success\n",
      "1273 success\n",
      "1274 success\n",
      "1275 success\n",
      "1276 success\n",
      "1277 success\n",
      "1278 success\n",
      "1279 success\n",
      "1280 success\n",
      "1281 success\n",
      "1282 success\n",
      "1283 success\n",
      "1284 success\n",
      "1285 success\n",
      "1286 success\n",
      "1287 success\n",
      "1288 success\n",
      "1289 success\n",
      "1290 success\n",
      "1291 success\n",
      "1292 success\n",
      "1293 success\n",
      "1294 success\n",
      "1295 success\n",
      "1296 success\n",
      "1297 success\n",
      "1298 success\n",
      "1299 success\n",
      "1300 success\n",
      "1301 success\n",
      "1302 success\n",
      "1303 success\n",
      "1304 success\n",
      "1305 success\n",
      "1306 success\n",
      "1307 success\n",
      "1308 success\n",
      "1309 success\n",
      "1310 success\n",
      "1311 success\n",
      "1312 success\n",
      "1313 success\n",
      "1314 success\n",
      "1315 success\n",
      "1316 success\n",
      "1317 success\n",
      "1318 success\n",
      "1319 success\n",
      "1320 success\n",
      "1321 success\n",
      "1322 success\n",
      "1323 success\n",
      "1324 success\n",
      "1325 success\n",
      "1326 success\n",
      "1327 success\n",
      "1328 success\n",
      "1329 success\n",
      "1330 success\n",
      "1331 success\n",
      "1332 success\n",
      "1333 success\n",
      "1334 success\n",
      "1335 success\n",
      "1336 success\n",
      "1337 success\n",
      "1338 success\n",
      "1339 success\n",
      "1340 success\n",
      "1341 success\n",
      "1342 success\n",
      "1343 success\n",
      "1344 success\n",
      "1345 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1346 success\n",
      "1347 success\n",
      "1348 success\n",
      "1349 success\n",
      "1350 success\n",
      "1351 success\n",
      "1352 success\n",
      "1353 success\n",
      "1354 success\n",
      "1355 success\n",
      "1356 success\n",
      "1357 success\n",
      "1358 success\n",
      "1359 success\n",
      "1360 success\n",
      "1361 success\n",
      "1362 success\n",
      "1363 success\n",
      "1364 success\n",
      "1365 success\n",
      "1366 success\n",
      "1367 success\n",
      "1368 success\n",
      "1369 success\n",
      "1370 success\n",
      "1371 success\n",
      "1372 success\n",
      "1373 success\n",
      "1374 success\n",
      "1375 success\n",
      "1376 success\n",
      "1377 success\n",
      "1378 success\n",
      "1379 success\n",
      "1380 success\n",
      "1381 success\n",
      "1382 success\n",
      "1383 success\n",
      "1384 success\n",
      "1385 success\n",
      "1386 success\n",
      "1387 success\n",
      "1388 success\n",
      "1389 success\n",
      "1390 success\n",
      "1391 success\n",
      "1392 success\n",
      "1393 success\n",
      "1394 success\n",
      "1395 success\n",
      "1396 success\n",
      "1397 success\n",
      "1398 success\n",
      "1399 success\n",
      "1400 success\n",
      "1401 success\n",
      "1402 success\n",
      "1403 success\n",
      "1404 success\n",
      "1405 success\n",
      "1406 success\n",
      "1407 success\n",
      "1408 success\n",
      "1409 success\n",
      "1410 success\n",
      "1411 success\n",
      "1412 success\n",
      "1413 success\n",
      "1414 success\n",
      "1415 success\n",
      "1416 success\n",
      "1417 success\n",
      "1418 success\n",
      "1419 success\n",
      "1420 success\n",
      "1421 success\n",
      "1422 success\n",
      "1423 success\n",
      "1424 success\n",
      "1425 success\n",
      "1426 success\n",
      "1427 success\n",
      "1428 success\n",
      "1429 success\n",
      "1430 success\n",
      "1431 success\n",
      "1432 success\n",
      "1433 success\n",
      "1434 success\n",
      "1435 success\n",
      "1436 success\n",
      "1437 success\n",
      "1438 success\n",
      "1439 success\n",
      "1440 success\n",
      "1441 success\n",
      "1442 success\n",
      "1443 success\n",
      "1444 success\n",
      "1445 success\n",
      "1446 success\n",
      "1447 success\n",
      "1448 success\n",
      "1449 success\n",
      "1450 success\n",
      "1451 success\n",
      "1452 success\n",
      "1453 success\n",
      "1454 success\n",
      "1455 success\n",
      "1456 success\n",
      "1457 success\n",
      "1458 success\n",
      "1459 success\n",
      "1460 success\n",
      "1461 success\n",
      "1462 success\n",
      "1463 success\n",
      "1464 success\n",
      "1465 success\n",
      "1466 success\n",
      "1467 success\n",
      "1468 success\n",
      "1469 success\n",
      "1470 success\n",
      "1471 success\n",
      "1472 success\n",
      "1473 success\n",
      "1474 success\n",
      "1475 success\n",
      "1476 success\n",
      "1477 success\n",
      "1478 success\n",
      "1479 success\n",
      "1480 success\n",
      "1481 success\n",
      "1482 success\n",
      "1483 success\n",
      "1484 success\n",
      "1485 success\n",
      "1486 success\n",
      "1487 success\n",
      "1488 success\n",
      "1489 success\n",
      "1490 success\n",
      "1491 success\n",
      "1492 success\n",
      "1493 success\n",
      "1494 success\n",
      "1495 success\n",
      "1496 success\n",
      "1497 success\n",
      "1498 success\n",
      "1499 success\n",
      "1500 success\n",
      "1501 success\n",
      "1502 success\n",
      "1503 success\n",
      "1504 success\n",
      "1505 success\n",
      "1506 success\n",
      "1507 success\n",
      "1508 success\n",
      "1509 success\n",
      "1510 success\n",
      "1511 success\n",
      "1512 success\n",
      "1513 success\n",
      "1514 success\n",
      "1515 success\n",
      "1516 success\n",
      "1517 success\n",
      "1518 success\n",
      "1519 success\n",
      "1520 success\n",
      "1521 success\n",
      "1522 success\n",
      "1523 success\n",
      "1524 success\n",
      "1525 success\n",
      "1526 success\n",
      "1527 success\n",
      "1528 success\n",
      "1529 success\n",
      "1530 success\n",
      "1531 success\n",
      "1532 success\n",
      "1533 success\n",
      "1534 success\n",
      "1535 success\n",
      "1536 success\n",
      "1537 success\n",
      "1538 success\n",
      "1539 success\n",
      "1540 success\n",
      "1541 success\n",
      "1542 success\n",
      "1543 success\n",
      "1544 success\n",
      "1545 success\n",
      "1546 success\n",
      "1547 success\n",
      "1548 success\n",
      "1549 success\n",
      "1550 success\n",
      "1551 success\n",
      "1552 success\n",
      "1553 success\n",
      "1554 success\n",
      "1555 success\n",
      "1556 success\n",
      "1557 success\n",
      "1558 success\n",
      "1559 success\n",
      "1560 success\n",
      "1561 success\n",
      "1562 success\n",
      "1563 success\n",
      "1564 success\n",
      "1565 success\n",
      "1566 success\n",
      "1567 success\n",
      "1568 success\n",
      "1569 success\n",
      "1570 success\n",
      "1571 success\n",
      "1572 success\n",
      "1573 success\n",
      "1574 success\n",
      "1575 success\n",
      "1576 success\n",
      "1577 success\n",
      "1578 success\n",
      "1579 success\n",
      "1580 success\n",
      "1581 success\n",
      "1582 success\n",
      "1583 success\n",
      "1584 success\n",
      "1585 success\n",
      "1586 success\n",
      "1587 success\n",
      "1588 success\n",
      "1589 success\n",
      "1590 success\n",
      "1591 success\n",
      "1592 success\n",
      "1593 success\n",
      "1594 success\n",
      "1595 success\n",
      "1596 success\n",
      "1597 success\n",
      "1598 success\n",
      "1599 success\n",
      "1600 success\n",
      "1601 success\n",
      "1602 success\n",
      "1603 success\n",
      "1604 success\n",
      "1605 success\n",
      "1606 success\n",
      "1607 success\n",
      "1608 success\n",
      "1609 success\n",
      "1610 success\n",
      "1611 success\n",
      "1612 success\n",
      "1613 success\n",
      "1614 success\n",
      "1615 success\n",
      "1616 success\n",
      "1617 success\n",
      "1618 success\n",
      "1619 success\n",
      "1620 success\n",
      "1621 success\n",
      "1622 success\n",
      "1623 success\n",
      "1624 success\n",
      "1625 success\n",
      "1626 success\n",
      "1627 success\n",
      "1628 success\n",
      "1629 success\n",
      "1630 success\n",
      "1631 success\n",
      "1632 success\n",
      "1633 success\n",
      "1634 success\n",
      "1635 success\n",
      "1636 success\n",
      "1637 success\n",
      "1638 success\n",
      "1639 success\n",
      "1640 success\n",
      "1641 success\n",
      "1642 success\n",
      "1643 success\n",
      "1644 success\n",
      "1645 success\n",
      "1646 success\n",
      "1647 success\n",
      "1648 success\n",
      "1649 success\n",
      "1650 success\n",
      "1651 success\n",
      "1652 success\n",
      "1653 success\n",
      "1654 success\n",
      "1655 success\n",
      "1656 success\n",
      "1657 success\n",
      "1658 success\n",
      "1659 success\n",
      "1660 success\n",
      "1661 success\n",
      "1662 success\n",
      "1663 success\n",
      "1664 success\n",
      "1665 success\n",
      "1666 success\n",
      "1667 success\n",
      "1668 success\n",
      "1669 success\n",
      "1670 success\n",
      "1671 success\n",
      "1672 success\n",
      "1673 success\n",
      "1674 success\n",
      "1675 success\n",
      "1676 success\n",
      "1677 success\n",
      "1678 success\n",
      "1679 success\n",
      "1680 success\n",
      "1681 success\n",
      "1682 success\n",
      "1683 success\n",
      "1684 success\n",
      "1685 success\n",
      "1686 success\n",
      "1687 success\n",
      "1688 success\n",
      "1689 success\n",
      "1690 success\n",
      "1691 success\n",
      "1692 success\n",
      "1693 success\n",
      "1694 success\n",
      "1695 success\n",
      "1696 success\n",
      "1697 success\n",
      "1698 success\n",
      "1699 success\n",
      "1700 success\n",
      "1701 success\n",
      "1702 success\n",
      "1703 success\n",
      "1704 success\n",
      "1705 success\n",
      "1706 success\n",
      "1707 success\n",
      "1708 success\n",
      "1709 success\n",
      "1710 success\n",
      "1711 success\n",
      "1712 success\n",
      "1713 success\n",
      "1714 success\n",
      "1715 success\n",
      "1716 success\n",
      "1717 success\n",
      "1718 success\n",
      "1719 success\n",
      "1720 success\n",
      "1721 success\n",
      "1722 success\n",
      "1723 success\n",
      "1724 success\n",
      "1725 success\n",
      "1726 success\n",
      "1727 success\n",
      "1728 success\n",
      "1729 success\n",
      "1730 success\n",
      "1731 success\n",
      "1732 success\n",
      "1733 success\n",
      "1734 success\n",
      "1735 success\n",
      "1736 success\n",
      "1737 success\n",
      "1738 success\n",
      "1739 success\n",
      "1740 success\n",
      "1741 success\n",
      "1742 success\n",
      "1743 success\n",
      "1744 success\n",
      "1745 success\n",
      "1746 success\n",
      "1747 success\n",
      "1748 success\n",
      "1749 success\n",
      "1750 success\n",
      "1751 success\n",
      "1752 success\n",
      "1753 success\n",
      "1754 success\n",
      "1755 success\n",
      "1756 success\n",
      "1757 success\n",
      "1758 success\n",
      "1759 success\n",
      "1760 success\n",
      "1761 success\n",
      "1762 success\n",
      "1763 success\n",
      "1764 success\n",
      "1765 success\n",
      "1766 success\n",
      "1767 success\n",
      "1768 success\n",
      "1769 success\n",
      "1770 success\n",
      "1771 success\n",
      "1772 success\n",
      "1773 success\n",
      "1774 success\n",
      "1775 success\n",
      "1776 success\n",
      "1777 success\n",
      "1778 success\n",
      "1779 success\n",
      "1780 success\n",
      "1781 success\n",
      "1782 success\n",
      "1783 success\n",
      "1784 success\n",
      "1785 success\n",
      "1786 success\n",
      "1787 success\n",
      "1788 success\n",
      "1789 success\n",
      "1790 success\n",
      "1791 success\n",
      "1792 success\n",
      "1793 success\n",
      "1794 success\n",
      "1795 success\n",
      "1796 success\n",
      "1797 success\n",
      "1798 success\n",
      "1799 success\n",
      "1800 success\n",
      "1801 success\n",
      "1802 success\n",
      "1803 success\n",
      "1804 success\n",
      "1805 success\n",
      "1806 success\n",
      "1807 success\n",
      "1808 success\n",
      "1809 success\n",
      "1810 success\n",
      "1811 success\n",
      "1812 success\n",
      "1813 success\n",
      "1814 success\n",
      "1815 success\n",
      "1816 success\n",
      "1817 success\n",
      "1818 success\n",
      "1819 success\n",
      "1820 success\n",
      "1821 success\n",
      "1822 success\n",
      "1823 success\n",
      "1824 success\n",
      "1825 success\n",
      "1826 success\n",
      "1827 success\n",
      "1828 success\n",
      "1829 success\n",
      "1830 success\n",
      "1831 success\n",
      "1832 success\n",
      "1833 success\n",
      "1834 success\n",
      "1835 success\n",
      "1836 success\n",
      "1837 success\n",
      "1838 success\n",
      "1839 success\n",
      "1840 success\n",
      "1841 success\n",
      "1842 success\n",
      "1843 success\n",
      "1844 success\n",
      "1845 success\n",
      "1846 success\n",
      "1847 success\n",
      "1848 success\n",
      "1849 success\n",
      "1850 success\n",
      "1851 success\n",
      "1852 success\n",
      "1853 success\n",
      "1854 success\n",
      "1855 success\n",
      "1856 success\n",
      "1857 success\n",
      "1858 success\n",
      "1859 success\n",
      "1860 success\n",
      "1861 success\n",
      "1862 success\n",
      "1863 success\n",
      "1864 success\n",
      "1865 success\n",
      "1866 success\n",
      "1867 success\n",
      "1868 success\n",
      "1869 success\n",
      "1870 success\n",
      "1871 success\n",
      "1872 success\n",
      "1873 success\n",
      "1874 success\n",
      "1875 success\n",
      "1876 success\n",
      "1877 success\n",
      "1878 success\n",
      "1879 success\n",
      "1880 success\n",
      "1881 success\n",
      "1882 success\n",
      "1883 success\n",
      "1884 success\n",
      "1885 success\n",
      "1886 success\n",
      "1887 success\n",
      "1888 success\n",
      "1889 success\n",
      "1890 success\n",
      "1891 success\n",
      "1892 success\n",
      "1893 success\n",
      "1894 success\n",
      "1895 success\n",
      "1896 success\n",
      "1897 success\n",
      "1898 success\n",
      "1899 success\n",
      "1900 success\n",
      "1901 success\n",
      "1902 success\n",
      "1903 success\n",
      "1904 success\n",
      "1905 success\n",
      "1906 success\n",
      "1907 success\n",
      "1908 success\n",
      "1909 success\n",
      "1910 success\n",
      "1911 success\n",
      "1912 success\n",
      "1913 success\n",
      "1914 success\n",
      "1915 success\n",
      "1916 success\n",
      "1917 success\n",
      "1918 success\n",
      "1919 success\n",
      "1920 success\n",
      "1921 success\n",
      "1922 success\n",
      "1923 success\n",
      "1924 success\n",
      "1925 success\n",
      "1926 success\n",
      "1927 success\n",
      "1928 success\n",
      "1929 success\n",
      "1930 success\n",
      "1931 success\n",
      "1932 success\n",
      "1933 success\n",
      "1934 success\n",
      "1935 success\n",
      "1936 success\n",
      "1937 success\n",
      "1938 success\n",
      "1939 success\n",
      "1940 success\n",
      "1941 success\n",
      "1942 success\n",
      "1943 success\n",
      "1944 success\n",
      "1945 success\n",
      "1946 success\n",
      "1947 success\n",
      "1948 success\n",
      "1949 success\n",
      "1950 success\n",
      "1951 success\n",
      "1952 success\n",
      "1953 success\n",
      "1954 success\n",
      "1955 success\n",
      "1956 success\n",
      "1957 success\n",
      "1958 success\n",
      "1959 success\n",
      "1960 success\n",
      "1961 success\n",
      "1962 success\n",
      "1963 success\n",
      "1964 success\n",
      "1965 success\n",
      "1966 success\n",
      "1967 success\n",
      "1968 success\n",
      "1969 success\n",
      "1970 success\n",
      "1971 success\n",
      "1972 success\n",
      "1973 success\n",
      "1974 success\n",
      "1975 success\n",
      "1976 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1977 success\n",
      "1978 success\n",
      "1979 success\n",
      "1980 success\n",
      "1981 success\n",
      "1982 success\n",
      "1983 success\n",
      "1984 success\n",
      "1985 success\n",
      "1986 success\n",
      "1987 success\n",
      "1988 success\n",
      "1989 success\n",
      "1990 success\n",
      "1991 success\n",
      "1992 success\n",
      "1993 success\n",
      "1994 success\n",
      "1995 success\n",
      "1996 success\n",
      "1997 success\n",
      "1998 success\n",
      "1999 success\n",
      "2000 success\n",
      "2001 success\n",
      "2002 success\n",
      "2003 success\n",
      "2004 success\n",
      "2005 success\n",
      "2006 success\n",
      "2007 success\n",
      "2008 success\n",
      "2009 success\n",
      "2010 success\n",
      "2011 success\n",
      "2012 success\n",
      "2013 success\n",
      "2014 success\n",
      "2015 success\n",
      "2016 success\n",
      "2017 success\n",
      "2018 success\n",
      "2019 success\n",
      "2020 success\n",
      "2021 success\n",
      "2022 success\n",
      "2023 success\n",
      "2024 success\n",
      "2025 success\n",
      "2026 success\n",
      "2027 success\n",
      "2028 success\n",
      "2029 success\n",
      "2030 success\n",
      "2031 success\n",
      "2032 success\n",
      "2033 success\n",
      "2034 success\n",
      "2035 success\n",
      "2036 success\n",
      "2037 success\n",
      "2038 success\n",
      "2039 success\n",
      "2040 success\n",
      "2041 success\n",
      "2042 success\n",
      "2043 success\n",
      "2044 success\n",
      "2045 success\n",
      "2046 success\n",
      "2047 success\n",
      "2048 success\n",
      "2049 success\n",
      "2050 success\n",
      "2051 success\n",
      "2052 success\n",
      "2053 success\n",
      "2054 success\n",
      "2055 success\n",
      "2056 success\n",
      "2057 success\n",
      "2058 success\n",
      "2059 success\n",
      "2060 success\n",
      "2061 success\n",
      "2062 success\n",
      "2063 success\n",
      "2064 success\n",
      "2065 success\n",
      "2066 success\n",
      "2067 success\n",
      "2068 success\n",
      "2069 success\n",
      "2070 success\n",
      "2071 success\n",
      "2072 success\n",
      "2073 success\n",
      "2074 success\n",
      "2075 success\n",
      "2076 success\n",
      "2077 success\n",
      "2078 success\n",
      "2079 success\n",
      "2080 success\n",
      "2081 success\n",
      "2082 success\n",
      "2083 success\n",
      "2084 success\n",
      "2085 success\n",
      "2086 success\n",
      "2087 success\n",
      "2088 success\n",
      "2089 success\n",
      "2090 success\n",
      "2091 success\n",
      "2092 success\n",
      "2093 success\n",
      "2094 success\n",
      "2095 success\n",
      "2096 success\n",
      "2097 success\n",
      "2098 success\n",
      "2099 success\n",
      "2100 success\n",
      "2101 success\n",
      "2102 success\n",
      "2103 success\n",
      "2104 success\n",
      "2105 success\n",
      "2106 success\n",
      "2107 success\n",
      "2108 success\n",
      "2109 success\n",
      "2110 success\n",
      "2111 success\n",
      "2112 success\n",
      "2113 success\n",
      "2114 success\n",
      "2115 success\n",
      "2116 success\n",
      "2117 success\n",
      "2118 success\n",
      "2119 success\n",
      "2120 success\n",
      "2121 success\n",
      "2122 success\n",
      "2123 success\n",
      "2124 success\n",
      "2125 success\n",
      "2126 success\n",
      "2127 success\n",
      "2128 success\n",
      "2129 success\n",
      "2130 success\n",
      "2131 success\n",
      "2132 success\n",
      "2133 success\n",
      "2134 success\n",
      "2135 success\n",
      "2136 success\n",
      "2137 success\n",
      "2138 success\n",
      "2139 success\n",
      "2140 success\n",
      "2141 success\n",
      "2142 success\n",
      "2143 success\n",
      "2144 success\n",
      "2145 success\n",
      "2146 success\n",
      "2147 success\n",
      "2148 success\n",
      "2149 success\n",
      "2150 success\n",
      "2151 success\n",
      "2152 success\n",
      "2153 success\n",
      "2154 success\n",
      "2155 success\n",
      "2156 success\n",
      "2157 success\n",
      "2158 success\n",
      "2159 success\n",
      "2160 success\n",
      "2161 success\n",
      "2162 success\n",
      "2163 success\n",
      "2164 success\n",
      "2165 success\n",
      "2166 success\n",
      "2167 success\n",
      "2168 success\n",
      "2169 success\n",
      "2170 success\n",
      "2171 success\n",
      "2172 success\n",
      "2173 success\n",
      "2174 success\n",
      "2175 success\n",
      "2176 success\n",
      "2177 success\n",
      "2178 success\n",
      "2179 success\n",
      "2180 success\n",
      "2181 success\n",
      "2182 success\n",
      "2183 success\n",
      "2184 success\n",
      "2185 success\n",
      "2186 success\n",
      "2187 success\n",
      "2188 success\n",
      "2189 success\n",
      "2190 success\n",
      "2191 success\n",
      "2192 success\n",
      "2193 success\n",
      "2194 success\n",
      "2195 success\n",
      "2196 success\n",
      "2197 success\n",
      "2198 success\n",
      "2199 success\n",
      "2200 success\n",
      "2201 success\n",
      "2202 success\n",
      "2203 success\n",
      "2204 success\n",
      "2205 success\n",
      "2206 success\n",
      "2207 success\n",
      "2208 success\n",
      "2209 success\n",
      "2210 success\n",
      "2211 success\n",
      "2212 success\n",
      "2213 success\n",
      "2214 success\n",
      "2215 success\n",
      "2216 success\n",
      "2217 success\n",
      "2218 success\n",
      "2219 success\n",
      "2220 success\n",
      "2221 success\n",
      "2222 success\n",
      "2223 success\n",
      "2224 success\n",
      "2225 success\n",
      "2226 success\n",
      "2227 success\n",
      "2228 success\n",
      "2229 success\n",
      "2230 success\n",
      "2231 success\n",
      "2232 success\n",
      "2233 success\n",
      "2234 success\n",
      "2235 success\n",
      "2236 success\n",
      "2237 success\n",
      "2238 success\n",
      "2239 success\n",
      "2240 success\n",
      "2241 success\n",
      "2242 success\n",
      "2243 success\n",
      "2244 success\n",
      "2245 success\n",
      "2246 success\n",
      "2247 success\n",
      "2248 success\n",
      "2249 success\n",
      "2250 success\n",
      "2251 success\n",
      "2252 success\n",
      "2253 success\n",
      "2254 success\n",
      "2255 success\n",
      "2256 success\n",
      "2257 success\n",
      "2258 success\n",
      "2259 success\n",
      "2260 success\n",
      "2261 success\n",
      "2262 success\n",
      "2263 success\n",
      "2264 success\n",
      "2265 success\n",
      "2266 success\n",
      "2267 success\n",
      "2268 success\n",
      "2269 success\n",
      "2270 success\n",
      "2271 success\n",
      "2272 success\n",
      "2273 success\n",
      "2274 success\n",
      "2275 success\n",
      "2276 success\n",
      "2277 success\n",
      "2278 success\n",
      "2279 success\n",
      "2280 success\n",
      "2281 success\n",
      "2282 success\n",
      "2283 success\n",
      "2284 success\n",
      "2285 success\n",
      "2286 success\n",
      "2287 success\n",
      "2288 success\n",
      "2289 success\n",
      "2290 success\n",
      "2291 success\n",
      "2292 success\n",
      "2293 success\n",
      "2294 success\n",
      "2295 success\n",
      "2296 success\n",
      "2297 success\n",
      "2298 success\n",
      "2299 success\n",
      "2300 success\n",
      "2301 success\n",
      "2302 success\n",
      "2303 success\n",
      "2304 success\n",
      "2305 success\n",
      "2306 success\n",
      "2307 success\n",
      "2308 success\n",
      "2309 success\n",
      "2310 success\n",
      "2311 success\n",
      "2312 success\n",
      "2313 success\n",
      "2314 success\n",
      "2315 success\n",
      "2316 success\n",
      "2317 success\n",
      "2318 success\n",
      "2319 success\n",
      "2320 success\n",
      "2321 success\n",
      "2322 success\n",
      "2323 success\n",
      "2324 success\n",
      "2325 success\n",
      "2326 success\n",
      "2327 success\n",
      "2328 success\n",
      "2329 success\n",
      "2330 success\n",
      "2331 success\n",
      "2332 success\n",
      "2333 success\n",
      "2334 success\n",
      "2335 success\n",
      "2336 success\n",
      "2337 success\n",
      "2338 success\n",
      "2339 success\n",
      "2340 success\n",
      "2341 success\n",
      "2342 success\n",
      "2343 success\n",
      "2344 success\n",
      "2345 success\n",
      "2346 success\n",
      "2347 success\n",
      "2348 success\n",
      "2349 success\n",
      "2350 success\n",
      "2351 success\n",
      "2352 success\n",
      "2353 success\n",
      "2354 success\n",
      "2355 success\n",
      "2356 success\n",
      "2357 success\n",
      "2358 success\n",
      "2359 success\n",
      "2360 success\n",
      "2361 success\n",
      "2362 success\n",
      "2363 success\n",
      "2364 success\n",
      "2365 success\n",
      "2366 success\n",
      "2367 success\n",
      "2368 success\n",
      "2369 success\n",
      "2370 success\n",
      "2371 success\n",
      "2372 success\n",
      "2373 success\n",
      "2374 success\n",
      "2375 success\n",
      "2376 success\n",
      "2377 success\n",
      "2378 success\n",
      "2379 success\n",
      "2380 success\n",
      "2381 success\n",
      "2382 success\n",
      "2383 success\n",
      "2384 success\n",
      "2385 success\n",
      "2386 success\n",
      "2387 success\n",
      "2388 success\n",
      "2389 success\n",
      "2390 success\n",
      "2391 success\n",
      "2392 success\n",
      "2393 success\n",
      "2394 success\n",
      "2395 success\n",
      "2396 success\n",
      "2397 success\n",
      "2398 success\n",
      "2399 success\n",
      "2400 success\n",
      "2401 success\n",
      "2402 success\n",
      "2403 success\n",
      "2404 success\n",
      "2405 success\n",
      "2406 success\n",
      "2407 success\n",
      "2408 success\n",
      "2409 success\n",
      "2410 success\n",
      "2411 success\n",
      "2412 success\n",
      "2413 success\n",
      "2414 success\n",
      "2415 success\n",
      "2416 success\n",
      "2417 success\n",
      "2418 success\n",
      "2419 success\n",
      "2420 success\n",
      "2421 success\n",
      "2422 success\n",
      "2423 success\n",
      "2424 success\n",
      "2425 success\n",
      "2426 success\n",
      "2427 success\n",
      "2428 success\n",
      "2429 success\n",
      "2430 success\n",
      "2431 success\n",
      "2432 success\n",
      "2433 success\n",
      "2434 success\n",
      "2435 success\n",
      "2436 success\n",
      "2437 success\n",
      "2438 success\n",
      "2439 success\n",
      "2440 success\n",
      "2441 success\n",
      "2442 success\n",
      "2443 success\n",
      "2444 success\n",
      "2445 success\n",
      "2446 success\n",
      "2447 success\n",
      "2448 success\n",
      "2449 success\n",
      "2450 success\n",
      "2451 success\n",
      "2452 success\n",
      "2453 success\n",
      "2454 success\n",
      "2455 success\n",
      "2456 success\n",
      "2457 success\n",
      "2458 success\n",
      "2459 success\n",
      "2460 success\n",
      "2461 success\n",
      "2462 success\n",
      "2463 success\n",
      "2464 success\n",
      "2465 success\n",
      "2466 success\n",
      "2467 success\n",
      "2468 success\n",
      "2469 success\n",
      "2470 success\n",
      "2471 success\n",
      "2472 success\n",
      "2473 success\n",
      "2474 success\n",
      "2475 success\n",
      "2476 success\n",
      "2477 success\n",
      "2478 success\n",
      "2479 success\n",
      "2480 success\n",
      "2481 success\n",
      "2482 success\n",
      "2483 success\n",
      "2484 success\n",
      "2485 success\n",
      "2486 success\n",
      "2487 success\n",
      "2488 success\n",
      "2489 success\n",
      "2490 success\n",
      "2491 success\n",
      "2492 success\n",
      "2493 success\n",
      "2494 success\n",
      "2495 success\n",
      "2496 success\n",
      "2497 success\n",
      "2498 success\n",
      "2499 success\n",
      "2500 success\n",
      "2501 success\n",
      "2502 success\n",
      "2503 success\n",
      "2504 success\n",
      "2505 success\n",
      "2506 success\n",
      "2507 success\n",
      "2508 success\n",
      "2509 success\n",
      "2510 success\n",
      "2511 success\n",
      "2512 success\n",
      "2513 success\n",
      "2514 success\n",
      "2515 success\n",
      "2516 success\n",
      "2517 success\n",
      "2518 success\n",
      "2519 success\n",
      "2520 success\n",
      "2521 success\n",
      "2522 success\n",
      "2523 success\n",
      "2524 success\n",
      "2525 success\n",
      "2526 success\n",
      "2527 success\n",
      "2528 success\n",
      "2529 success\n",
      "2530 success\n",
      "2531 success\n",
      "2532 success\n",
      "2533 success\n",
      "2534 success\n",
      "2535 success\n",
      "2536 success\n",
      "2537 success\n",
      "2538 success\n",
      "2539 success\n",
      "2540 success\n",
      "2541 success\n",
      "2542 success\n",
      "2543 success\n",
      "2544 success\n",
      "2545 success\n",
      "2546 success\n",
      "2547 success\n",
      "2548 success\n",
      "2549 success\n",
      "2550 success\n",
      "2551 success\n",
      "2552 success\n",
      "2553 success\n",
      "2554 success\n",
      "2555 success\n",
      "2556 success\n",
      "2557 success\n",
      "2558 success\n",
      "2559 success\n",
      "2560 success\n",
      "2561 success\n",
      "2562 success\n",
      "2563 success\n",
      "2564 success\n",
      "2565 success\n",
      "2566 success\n",
      "2567 success\n",
      "2568 success\n",
      "2569 success\n",
      "2570 success\n",
      "2571 success\n",
      "2572 success\n",
      "2573 success\n",
      "2574 success\n",
      "2575 success\n",
      "2576 success\n",
      "2577 success\n",
      "2578 success\n",
      "2579 success\n",
      "2580 success\n",
      "2581 success\n",
      "2582 success\n",
      "2583 success\n",
      "2584 success\n",
      "2585 success\n",
      "2586 success\n",
      "2587 success\n",
      "2588 success\n",
      "2589 success\n",
      "2590 success\n",
      "2591 success\n",
      "2592 success\n",
      "2593 success\n",
      "2594 success\n",
      "2595 success\n",
      "2596 success\n",
      "2597 success\n",
      "2598 success\n",
      "2599 success\n",
      "2600 success\n",
      "2601 success\n",
      "2602 success\n",
      "2603 success\n",
      "2604 success\n",
      "2605 success\n",
      "2606 success\n",
      "2607 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2608 success\n",
      "2609 success\n",
      "2610 success\n",
      "2611 success\n",
      "2612 success\n",
      "2613 success\n",
      "2614 success\n",
      "2615 success\n",
      "2616 success\n",
      "2617 success\n",
      "2618 success\n",
      "2619 success\n",
      "2620 success\n",
      "2621 success\n",
      "2622 success\n",
      "2623 success\n",
      "2624 success\n",
      "2625 success\n",
      "2626 success\n",
      "2627 success\n",
      "2628 success\n",
      "2629 success\n",
      "2630 success\n",
      "2631 success\n",
      "2632 success\n",
      "2633 success\n",
      "2634 success\n",
      "2635 success\n",
      "2636 success\n",
      "2637 success\n",
      "2638 success\n",
      "2639 success\n",
      "2640 success\n",
      "2641 success\n",
      "2642 success\n",
      "2643 success\n",
      "2644 success\n",
      "2645 success\n",
      "2646 success\n",
      "2647 success\n",
      "2648 success\n",
      "2649 success\n",
      "2650 success\n",
      "2651 success\n",
      "2652 success\n",
      "2653 success\n",
      "2654 success\n",
      "2655 success\n",
      "2656 success\n",
      "2657 success\n",
      "2658 success\n",
      "2659 success\n",
      "2660 success\n",
      "2661 success\n",
      "2662 success\n",
      "2663 success\n",
      "2664 success\n",
      "2665 success\n",
      "2666 success\n",
      "2667 success\n",
      "2668 success\n",
      "2669 success\n",
      "2670 success\n",
      "2671 success\n",
      "2672 success\n",
      "2673 success\n",
      "2674 success\n",
      "2675 success\n",
      "2676 success\n",
      "2677 success\n",
      "2678 success\n",
      "2679 success\n",
      "2680 success\n",
      "2681 success\n",
      "2682 success\n",
      "2683 success\n",
      "2684 success\n",
      "2685 success\n",
      "2686 success\n",
      "2687 success\n",
      "2688 success\n",
      "2689 success\n",
      "2690 success\n",
      "2691 success\n",
      "2692 success\n",
      "2693 success\n",
      "2694 success\n",
      "2695 success\n",
      "2696 success\n",
      "2697 success\n",
      "2698 success\n",
      "2699 success\n",
      "2700 success\n",
      "2701 success\n",
      "2702 success\n",
      "2703 success\n",
      "2704 success\n",
      "2705 success\n",
      "2706 success\n",
      "2707 success\n",
      "2708 success\n",
      "2709 success\n",
      "2710 success\n",
      "2711 success\n",
      "2712 success\n",
      "2713 success\n",
      "2714 success\n",
      "2715 success\n",
      "2716 success\n",
      "2717 success\n",
      "2718 success\n",
      "2719 success\n",
      "2720 success\n",
      "2721 success\n",
      "2722 success\n",
      "2723 success\n",
      "2724 success\n",
      "2725 success\n",
      "2726 success\n",
      "2727 success\n",
      "2728 success\n",
      "2729 success\n",
      "2730 success\n",
      "2731 success\n",
      "2732 success\n",
      "2733 success\n",
      "2734 success\n",
      "2735 success\n",
      "2736 success\n",
      "2737 success\n",
      "2738 success\n",
      "2739 success\n",
      "2740 success\n",
      "2741 success\n",
      "2742 success\n",
      "2743 success\n",
      "2744 success\n",
      "2745 success\n",
      "2746 success\n",
      "2747 success\n",
      "2748 success\n",
      "2749 success\n",
      "2750 success\n",
      "2751 success\n",
      "2752 success\n",
      "2753 success\n",
      "2754 success\n",
      "2755 success\n",
      "2756 success\n",
      "2757 success\n",
      "2758 success\n",
      "2759 success\n",
      "2760 success\n",
      "2761 success\n",
      "2762 success\n",
      "2763 success\n",
      "2764 success\n",
      "2765 success\n",
      "2766 success\n",
      "2767 success\n",
      "2768 success\n",
      "2769 success\n",
      "2770 success\n",
      "2771 success\n",
      "2772 success\n",
      "2773 success\n",
      "2774 success\n",
      "2775 success\n",
      "2776 success\n",
      "2777 success\n",
      "2778 success\n",
      "2779 success\n",
      "2780 success\n",
      "2781 success\n",
      "2782 success\n",
      "2783 success\n",
      "2784 success\n",
      "2785 success\n",
      "2786 success\n",
      "2787 success\n",
      "2788 success\n",
      "2789 success\n",
      "2790 success\n",
      "2791 success\n",
      "2792 success\n",
      "2793 success\n",
      "2794 success\n",
      "2795 success\n",
      "2796 success\n",
      "2797 success\n",
      "2798 success\n",
      "2799 success\n",
      "2800 success\n",
      "2801 success\n",
      "2802 success\n",
      "2803 success\n",
      "2804 success\n",
      "2805 success\n",
      "2806 success\n",
      "2807 success\n",
      "2808 success\n",
      "2809 success\n",
      "2810 success\n",
      "2811 success\n",
      "2812 success\n",
      "2813 success\n",
      "2814 success\n",
      "2815 success\n",
      "2816 success\n",
      "2817 success\n",
      "2818 success\n",
      "2819 success\n",
      "2820 success\n",
      "2821 success\n",
      "2822 success\n",
      "2823 success\n",
      "2824 success\n",
      "2825 success\n",
      "2826 success\n",
      "2827 success\n",
      "2828 success\n",
      "2829 success\n",
      "2830 success\n",
      "2831 success\n",
      "2832 success\n",
      "2833 success\n",
      "2834 success\n",
      "2835 success\n",
      "2836 success\n",
      "2837 success\n",
      "2838 success\n",
      "2839 success\n",
      "2840 success\n",
      "2841 success\n",
      "2842 success\n",
      "2843 success\n",
      "2844 success\n",
      "2845 success\n",
      "2846 success\n",
      "2847 success\n",
      "2848 success\n",
      "2849 success\n",
      "2850 success\n",
      "2851 success\n",
      "2852 success\n",
      "2853 success\n",
      "2854 success\n",
      "2855 success\n",
      "2856 success\n",
      "2857 success\n",
      "2858 success\n",
      "2859 success\n",
      "2860 success\n",
      "2861 success\n",
      "2862 success\n",
      "2863 success\n",
      "2864 success\n",
      "2865 success\n",
      "2866 success\n",
      "2867 success\n",
      "2868 success\n",
      "2869 success\n",
      "2870 success\n",
      "2871 success\n",
      "2872 success\n",
      "2873 success\n",
      "2874 success\n",
      "2875 success\n",
      "2876 success\n",
      "2877 success\n",
      "2878 success\n",
      "2879 success\n",
      "2880 success\n",
      "2881 success\n",
      "2882 success\n",
      "2883 success\n",
      "2884 success\n",
      "2885 success\n",
      "2886 success\n",
      "2887 success\n",
      "2888 success\n",
      "2889 success\n",
      "2890 success\n",
      "2891 success\n",
      "2892 success\n",
      "2893 success\n",
      "2894 success\n",
      "2895 success\n",
      "2896 success\n",
      "2897 success\n",
      "2898 success\n",
      "2899 success\n",
      "2900 success\n",
      "2901 success\n",
      "2902 success\n",
      "2903 success\n",
      "2904 success\n",
      "2905 success\n",
      "2906 success\n",
      "2907 success\n",
      "2908 success\n",
      "2909 success\n",
      "2910 success\n",
      "2911 success\n",
      "2912 success\n",
      "2913 success\n",
      "2914 success\n",
      "2915 success\n",
      "2916 success\n",
      "2917 success\n",
      "2918 success\n",
      "2919 success\n",
      "2920 success\n",
      "2921 success\n",
      "2922 success\n",
      "2923 success\n",
      "2924 success\n",
      "2925 success\n",
      "2926 success\n",
      "2927 success\n",
      "2928 success\n",
      "2929 success\n",
      "2930 success\n",
      "2931 success\n",
      "2932 success\n",
      "2933 success\n",
      "2934 success\n",
      "2935 success\n",
      "2936 success\n",
      "2937 success\n",
      "2938 success\n",
      "2939 success\n",
      "2940 success\n",
      "2941 success\n",
      "2942 success\n",
      "2943 success\n",
      "2944 success\n",
      "2945 success\n",
      "2946 success\n",
      "2947 success\n",
      "2948 success\n",
      "2949 success\n",
      "2950 success\n",
      "2951 success\n",
      "2952 success\n",
      "2953 success\n",
      "2954 success\n",
      "2955 success\n",
      "2956 success\n",
      "2957 success\n",
      "2958 success\n",
      "2959 success\n",
      "2960 success\n",
      "2961 success\n",
      "2962 success\n",
      "2963 success\n",
      "2964 success\n",
      "2965 success\n",
      "2966 success\n",
      "2967 success\n",
      "2968 success\n",
      "2969 success\n",
      "2970 success\n",
      "2971 success\n",
      "2972 success\n",
      "2973 success\n",
      "2974 success\n",
      "2975 success\n",
      "2976 success\n",
      "2977 success\n",
      "2978 success\n",
      "2979 success\n",
      "2980 success\n",
      "2981 success\n",
      "2982 success\n",
      "2983 success\n",
      "2984 success\n",
      "2985 success\n",
      "2986 success\n",
      "2987 success\n",
      "2988 success\n",
      "2989 success\n",
      "2990 success\n",
      "2991 success\n",
      "2992 success\n",
      "2993 success\n",
      "2994 success\n",
      "2995 success\n",
      "2996 success\n",
      "2997 success\n",
      "2998 success\n",
      "2999 success\n",
      "3000 success\n",
      "3001 success\n",
      "3002 success\n",
      "3003 success\n",
      "3004 success\n",
      "3005 success\n",
      "3006 success\n",
      "3007 success\n",
      "3008 success\n",
      "3009 success\n",
      "3010 success\n",
      "3011 success\n",
      "3012 success\n",
      "3013 success\n",
      "3014 success\n",
      "3015 success\n",
      "3016 success\n",
      "3017 success\n",
      "3018 success\n",
      "3019 success\n",
      "3020 success\n",
      "3021 success\n",
      "3022 success\n",
      "3023 success\n",
      "3024 success\n",
      "3025 success\n",
      "3026 success\n",
      "3027 success\n",
      "3028 success\n",
      "3029 success\n",
      "3030 success\n",
      "3031 success\n",
      "3032 success\n",
      "3033 success\n",
      "3034 success\n",
      "3035 success\n",
      "3036 success\n",
      "3037 success\n",
      "3038 success\n",
      "3039 success\n",
      "3040 success\n",
      "3041 success\n",
      "3042 success\n",
      "3043 success\n",
      "3044 success\n",
      "3045 success\n",
      "3046 success\n",
      "3047 success\n",
      "3048 success\n",
      "3049 success\n",
      "3050 success\n",
      "3051 success\n",
      "3052 success\n",
      "3053 success\n",
      "3054 success\n",
      "3055 success\n",
      "3056 success\n",
      "3057 success\n",
      "3058 success\n",
      "3059 success\n",
      "3060 success\n",
      "3061 success\n",
      "3062 success\n",
      "3063 success\n",
      "3064 success\n",
      "3065 success\n",
      "3066 success\n",
      "3067 success\n",
      "3068 success\n",
      "3069 success\n",
      "3070 success\n",
      "3071 success\n",
      "3072 success\n",
      "3073 success\n",
      "3074 success\n",
      "3075 success\n",
      "3076 success\n",
      "3077 success\n",
      "3078 success\n",
      "3079 success\n",
      "3080 success\n",
      "3081 success\n",
      "3082 success\n",
      "3083 success\n",
      "3084 success\n",
      "3085 success\n",
      "3086 success\n",
      "3087 success\n",
      "3088 success\n",
      "3089 success\n",
      "3090 success\n",
      "3091 success\n",
      "3092 success\n",
      "3093 success\n",
      "3094 success\n",
      "3095 success\n",
      "3096 success\n",
      "3097 success\n",
      "3098 success\n",
      "3099 success\n",
      "3100 success\n",
      "3101 success\n",
      "3102 success\n",
      "3103 success\n",
      "3104 success\n",
      "3105 success\n",
      "3106 success\n",
      "3107 success\n",
      "3108 success\n",
      "3109 success\n",
      "3110 success\n",
      "3111 success\n",
      "3112 success\n",
      "3113 success\n",
      "3114 success\n",
      "3115 success\n",
      "3116 success\n",
      "3117 success\n",
      "3118 success\n",
      "3119 success\n",
      "3120 success\n",
      "3121 success\n",
      "3122 success\n",
      "3123 success\n",
      "3124 success\n",
      "3125 success\n",
      "3126 success\n",
      "3127 success\n",
      "3128 success\n",
      "3129 success\n",
      "3130 success\n",
      "3131 success\n",
      "3132 success\n",
      "3133 success\n",
      "3134 success\n",
      "3135 success\n",
      "3136 success\n",
      "3137 success\n",
      "3138 success\n",
      "3139 success\n",
      "3140 success\n",
      "3141 success\n",
      "3142 success\n",
      "3143 success\n",
      "3144 success\n",
      "3145 success\n",
      "3146 success\n",
      "3147 success\n",
      "3148 success\n",
      "3149 success\n",
      "3150 success\n",
      "3151 success\n",
      "3152 success\n",
      "3153 success\n",
      "3154 success\n",
      "3155 success\n",
      "3156 success\n",
      "3157 success\n",
      "3158 success\n",
      "3159 success\n",
      "3160 success\n",
      "3161 success\n",
      "3162 success\n",
      "3163 success\n",
      "3164 success\n",
      "3165 success\n",
      "3166 success\n",
      "3167 success\n",
      "3168 success\n",
      "3169 success\n",
      "3170 success\n",
      "3171 success\n",
      "3172 success\n",
      "3173 success\n",
      "3174 success\n",
      "3175 success\n",
      "3176 success\n",
      "3177 success\n",
      "3178 success\n",
      "3179 success\n",
      "3180 success\n",
      "3181 success\n",
      "3182 success\n",
      "3183 success\n",
      "3184 success\n",
      "3185 success\n",
      "3186 success\n",
      "3187 success\n",
      "3188 success\n",
      "3189 success\n",
      "3190 success\n",
      "3191 success\n",
      "3192 success\n",
      "3193 success\n",
      "3194 success\n",
      "3195 success\n",
      "3196 success\n",
      "3197 success\n",
      "3198 success\n",
      "3199 success\n",
      "3200 success\n",
      "3201 success\n",
      "3202 success\n",
      "3203 success\n",
      "3204 success\n",
      "3205 success\n",
      "3206 success\n",
      "3207 success\n",
      "3208 success\n",
      "3209 success\n",
      "3210 success\n",
      "3211 success\n",
      "3212 success\n",
      "3213 success\n",
      "3214 success\n",
      "3215 success\n",
      "3216 success\n",
      "3217 success\n",
      "3218 success\n",
      "3219 success\n",
      "3220 success\n",
      "3221 success\n",
      "3222 success\n",
      "3223 success\n",
      "3224 success\n",
      "3225 success\n",
      "3226 success\n",
      "3227 success\n",
      "3228 success\n",
      "3229 success\n",
      "3230 success\n",
      "3231 success\n",
      "3232 success\n",
      "3233 success\n",
      "3234 success\n",
      "3235 success\n",
      "3236 success\n",
      "3237 success\n",
      "3238 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3239 success\n",
      "3240 success\n",
      "3241 success\n",
      "3242 success\n",
      "3243 success\n",
      "3244 success\n",
      "3245 success\n",
      "3246 success\n",
      "3247 success\n",
      "3248 success\n",
      "3249 success\n",
      "3250 success\n",
      "3251 success\n",
      "3252 success\n",
      "3253 success\n",
      "3254 success\n",
      "3255 success\n",
      "3256 success\n",
      "3257 success\n",
      "3258 success\n",
      "3259 success\n",
      "3260 success\n",
      "3261 success\n",
      "3262 success\n",
      "3263 success\n",
      "3264 success\n",
      "3265 success\n",
      "3266 success\n",
      "3267 success\n",
      "3268 success\n",
      "3269 success\n",
      "3270 success\n",
      "3271 success\n",
      "3272 success\n",
      "3273 success\n",
      "3274 success\n",
      "3275 success\n",
      "3276 success\n",
      "3277 success\n",
      "3278 success\n",
      "3279 success\n",
      "3280 success\n",
      "3281 success\n",
      "3282 success\n",
      "3283 success\n",
      "3284 success\n",
      "3285 success\n",
      "3286 success\n",
      "3287 success\n",
      "3288 success\n",
      "3289 success\n",
      "3290 success\n",
      "3291 success\n",
      "3292 success\n",
      "3293 success\n",
      "3294 success\n",
      "3295 success\n",
      "3296 success\n",
      "3297 success\n",
      "3298 success\n",
      "3299 success\n",
      "3300 success\n",
      "3301 success\n",
      "3302 success\n",
      "3303 success\n",
      "3304 success\n",
      "3305 success\n",
      "3306 success\n",
      "3307 success\n",
      "3308 success\n",
      "3309 success\n",
      "3310 success\n",
      "3311 success\n",
      "3312 success\n",
      "3313 success\n",
      "3314 success\n",
      "3315 success\n",
      "3316 success\n",
      "3317 success\n",
      "3318 success\n",
      "3319 success\n",
      "3320 success\n",
      "3321 success\n",
      "3322 success\n",
      "3323 success\n",
      "3324 success\n",
      "3325 success\n",
      "3326 success\n",
      "3327 success\n",
      "3328 success\n",
      "3329 success\n",
      "3330 success\n",
      "3331 success\n",
      "3332 success\n",
      "3333 success\n",
      "3334 success\n",
      "3335 success\n",
      "3336 success\n",
      "3337 success\n",
      "3338 success\n",
      "3339 success\n",
      "3340 success\n",
      "3341 success\n",
      "3342 success\n",
      "3343 success\n",
      "3344 success\n",
      "3345 success\n",
      "3346 success\n",
      "3347 success\n",
      "3348 success\n",
      "3349 success\n",
      "3350 success\n",
      "3351 success\n",
      "3352 success\n",
      "3353 success\n",
      "3354 success\n",
      "3355 success\n",
      "3356 success\n",
      "3357 success\n",
      "3358 success\n",
      "3359 success\n",
      "3360 success\n",
      "3361 success\n",
      "3362 success\n",
      "3363 success\n",
      "3364 success\n",
      "3365 success\n",
      "3366 success\n",
      "3367 success\n",
      "3368 success\n",
      "3369 success\n",
      "3370 success\n",
      "3371 success\n",
      "3372 success\n",
      "3373 success\n",
      "3374 success\n",
      "3375 success\n",
      "3376 success\n",
      "3377 success\n",
      "3378 success\n",
      "3379 success\n",
      "3380 success\n",
      "3381 success\n",
      "3382 success\n",
      "3383 success\n",
      "3384 success\n",
      "3385 success\n",
      "3386 success\n",
      "3387 success\n",
      "3388 success\n",
      "3389 success\n",
      "3390 success\n",
      "3391 success\n",
      "3392 success\n",
      "3393 success\n",
      "3394 success\n",
      "3395 success\n",
      "3396 success\n",
      "3397 success\n",
      "3398 success\n",
      "3399 success\n",
      "3400 success\n",
      "3401 success\n",
      "3402 success\n",
      "3403 success\n",
      "3404 success\n",
      "3405 success\n",
      "3406 success\n",
      "3407 success\n",
      "3408 success\n",
      "3409 success\n",
      "3410 success\n",
      "3411 success\n",
      "3412 success\n",
      "3413 success\n",
      "3414 success\n",
      "3415 success\n",
      "3416 success\n",
      "3417 success\n",
      "3418 success\n",
      "3419 success\n",
      "3420 success\n",
      "3421 success\n",
      "3422 success\n",
      "3423 success\n",
      "3424 success\n",
      "3425 success\n",
      "3426 success\n",
      "3427 success\n",
      "3428 success\n",
      "3429 success\n",
      "3430 success\n",
      "3431 success\n",
      "3432 success\n",
      "3433 success\n",
      "3434 success\n",
      "3435 success\n",
      "3436 success\n",
      "3437 success\n",
      "3438 success\n",
      "3439 success\n",
      "3440 success\n",
      "3441 success\n",
      "3442 success\n",
      "3443 success\n",
      "3444 success\n",
      "3445 success\n",
      "3446 success\n",
      "3447 success\n",
      "3448 success\n",
      "3449 success\n",
      "3450 success\n",
      "3451 success\n",
      "3452 success\n",
      "3453 success\n",
      "3454 success\n",
      "3455 success\n",
      "3456 success\n",
      "3457 success\n",
      "3458 success\n",
      "3459 success\n",
      "3460 success\n",
      "3461 success\n",
      "3462 success\n",
      "3463 success\n",
      "3464 success\n",
      "3465 success\n",
      "3466 success\n",
      "3467 success\n",
      "3468 success\n",
      "3469 success\n",
      "3470 success\n",
      "3471 success\n",
      "3472 success\n",
      "3473 success\n",
      "3474 success\n",
      "3475 success\n",
      "3476 success\n",
      "3477 success\n",
      "3478 success\n",
      "3479 success\n",
      "3480 success\n",
      "3481 success\n",
      "3482 success\n",
      "3483 success\n",
      "3484 success\n",
      "3485 success\n",
      "3486 success\n",
      "3487 success\n",
      "3488 success\n",
      "3489 success\n",
      "3490 success\n",
      "3491 success\n",
      "3492 success\n",
      "3493 success\n",
      "3494 success\n",
      "3495 success\n",
      "3496 success\n",
      "3497 success\n",
      "3498 success\n",
      "3499 success\n",
      "3500 success\n",
      "3501 success\n",
      "3502 success\n",
      "3503 success\n",
      "3504 success\n",
      "3505 success\n",
      "3506 success\n",
      "3507 success\n",
      "3508 success\n",
      "3509 success\n",
      "3510 success\n",
      "3511 success\n",
      "3512 success\n",
      "3513 success\n",
      "3514 success\n",
      "3515 success\n",
      "3516 success\n",
      "3517 success\n",
      "3518 success\n",
      "3519 success\n",
      "3520 success\n",
      "3521 success\n",
      "3522 success\n",
      "3523 success\n",
      "3524 success\n",
      "3525 success\n",
      "3526 success\n",
      "3527 success\n",
      "3528 success\n",
      "3529 success\n",
      "3530 success\n",
      "3531 success\n",
      "3532 success\n",
      "3533 success\n",
      "3534 success\n",
      "3535 success\n",
      "3536 success\n",
      "3537 success\n",
      "3538 success\n",
      "3539 success\n",
      "3540 success\n",
      "3541 success\n",
      "3542 success\n",
      "3543 success\n",
      "3544 success\n",
      "3545 success\n",
      "3546 success\n",
      "3547 success\n",
      "3548 success\n",
      "3549 success\n",
      "3550 success\n",
      "3551 success\n",
      "3552 success\n",
      "3553 success\n",
      "3554 success\n",
      "3555 success\n",
      "3556 success\n",
      "3557 success\n",
      "3558 success\n",
      "3559 success\n",
      "3560 success\n",
      "3561 success\n",
      "3562 success\n",
      "3563 success\n",
      "3564 success\n",
      "3565 success\n",
      "3566 success\n",
      "3567 success\n",
      "3568 success\n",
      "3569 success\n",
      "3570 success\n",
      "3571 success\n",
      "3572 success\n",
      "3573 success\n",
      "3574 success\n",
      "3575 success\n",
      "3576 success\n",
      "3577 success\n",
      "3578 success\n",
      "3579 success\n",
      "3580 success\n",
      "3581 success\n",
      "3582 success\n",
      "3583 success\n",
      "3584 success\n",
      "3585 success\n",
      "3586 success\n",
      "3587 success\n",
      "3588 success\n",
      "3589 success\n",
      "3590 success\n",
      "3591 success\n",
      "3592 success\n",
      "3593 success\n",
      "3594 success\n",
      "3595 success\n",
      "3596 success\n",
      "3597 success\n",
      "3598 success\n",
      "3599 success\n",
      "3600 success\n",
      "3601 success\n",
      "3602 success\n",
      "3603 success\n",
      "3604 success\n",
      "3605 success\n",
      "3606 success\n",
      "3607 success\n",
      "3608 success\n",
      "3609 success\n",
      "3610 success\n",
      "3611 success\n",
      "3612 success\n",
      "3613 success\n",
      "3614 success\n",
      "3615 success\n",
      "3616 success\n",
      "3617 success\n",
      "3618 success\n",
      "3619 success\n",
      "3620 success\n",
      "3621 success\n",
      "3622 success\n",
      "3623 success\n",
      "3624 success\n",
      "3625 success\n",
      "3626 success\n",
      "3627 success\n",
      "3628 success\n",
      "3629 success\n",
      "3630 success\n",
      "3631 success\n",
      "3632 success\n",
      "3633 success\n",
      "3634 success\n",
      "3635 success\n",
      "3636 success\n",
      "3637 success\n",
      "3638 success\n",
      "3639 success\n",
      "3640 success\n",
      "3641 success\n",
      "3642 success\n",
      "3643 success\n",
      "3644 success\n",
      "3645 success\n",
      "3646 success\n",
      "3647 success\n",
      "3648 success\n",
      "3649 success\n",
      "3650 success\n",
      "3651 success\n",
      "3652 success\n",
      "3653 success\n",
      "3654 success\n",
      "3655 success\n",
      "3656 success\n",
      "3657 success\n",
      "3658 success\n",
      "3659 success\n",
      "3660 success\n",
      "3661 success\n",
      "3662 success\n",
      "3663 success\n",
      "3664 success\n",
      "3665 success\n",
      "3666 success\n",
      "3667 success\n",
      "3668 success\n",
      "3669 success\n",
      "3670 success\n",
      "3671 success\n",
      "3672 success\n",
      "3673 success\n",
      "3674 success\n",
      "3675 success\n",
      "3676 success\n",
      "3677 success\n",
      "3678 success\n",
      "3679 success\n",
      "3680 success\n",
      "3681 success\n",
      "3682 success\n",
      "3683 success\n",
      "3684 success\n",
      "3685 success\n",
      "3686 success\n",
      "3687 success\n",
      "3688 success\n",
      "3689 success\n",
      "3690 success\n",
      "3691 success\n",
      "3692 success\n",
      "3693 success\n",
      "3694 success\n",
      "3695 success\n",
      "3696 success\n",
      "3697 success\n",
      "3698 success\n",
      "3699 success\n",
      "3700 success\n",
      "3701 success\n",
      "3702 success\n",
      "3703 success\n",
      "3704 success\n",
      "3705 success\n",
      "3706 success\n",
      "3707 success\n",
      "3708 success\n",
      "3709 success\n",
      "3710 success\n",
      "3711 success\n",
      "3712 success\n",
      "3713 success\n",
      "3714 success\n",
      "3715 success\n",
      "3716 success\n",
      "3717 success\n",
      "3718 success\n",
      "3719 success\n",
      "3720 success\n",
      "3721 success\n",
      "3722 success\n",
      "3723 success\n",
      "3724 success\n",
      "3725 success\n",
      "3726 success\n",
      "3727 success\n",
      "3728 success\n",
      "3729 success\n",
      "3730 success\n",
      "3731 success\n",
      "3732 success\n",
      "3733 success\n",
      "3734 success\n",
      "3735 success\n",
      "3736 success\n",
      "3737 success\n",
      "3738 success\n",
      "3739 success\n",
      "3740 success\n",
      "3741 success\n",
      "3742 success\n",
      "3743 success\n",
      "3744 success\n",
      "3745 success\n",
      "3746 success\n",
      "3747 success\n",
      "3748 success\n",
      "3749 success\n",
      "3750 success\n",
      "3751 success\n",
      "3752 success\n",
      "3753 success\n",
      "3754 success\n",
      "3755 success\n",
      "3756 success\n",
      "3757 success\n",
      "3758 success\n",
      "3759 success\n",
      "3760 success\n",
      "3761 success\n",
      "3762 success\n",
      "3763 success\n",
      "3764 success\n",
      "3765 success\n",
      "3766 success\n",
      "3767 success\n",
      "3768 success\n",
      "3769 success\n",
      "3770 success\n",
      "3771 success\n",
      "3772 success\n",
      "3773 success\n",
      "3774 success\n",
      "3775 success\n",
      "3776 success\n",
      "3777 success\n",
      "3778 success\n",
      "3779 success\n",
      "3780 success\n",
      "3781 success\n",
      "3782 success\n",
      "3783 success\n",
      "3784 success\n",
      "3785 success\n",
      "3786 success\n",
      "3787 success\n",
      "3788 success\n",
      "3789 success\n",
      "3790 success\n",
      "3791 success\n",
      "3792 success\n",
      "3793 success\n",
      "3794 success\n",
      "3795 success\n",
      "3796 success\n",
      "3797 success\n",
      "3798 success\n",
      "3799 success\n",
      "3800 success\n",
      "3801 success\n",
      "3802 success\n",
      "3803 success\n",
      "3804 success\n",
      "3805 success\n",
      "3806 success\n",
      "3807 success\n",
      "3808 success\n",
      "3809 success\n",
      "3810 success\n",
      "3811 success\n",
      "3812 success\n",
      "3813 success\n",
      "3814 success\n",
      "3815 success\n",
      "3816 success\n",
      "3817 success\n",
      "3818 success\n",
      "3819 success\n",
      "3820 success\n",
      "3821 success\n",
      "3822 success\n",
      "3823 success\n",
      "3824 success\n",
      "3825 success\n",
      "3826 success\n",
      "3827 success\n",
      "3828 success\n",
      "3829 success\n",
      "3830 success\n",
      "3831 success\n",
      "3832 success\n",
      "3833 success\n",
      "3834 success\n",
      "3835 success\n",
      "3836 success\n",
      "3837 success\n",
      "3838 success\n",
      "3839 success\n",
      "3840 success\n",
      "3841 success\n",
      "3842 success\n",
      "3843 success\n",
      "3844 success\n",
      "3845 success\n",
      "3846 success\n",
      "3847 success\n",
      "3848 success\n",
      "3849 success\n",
      "3850 success\n",
      "3851 success\n",
      "3852 success\n",
      "3853 success\n",
      "3854 success\n",
      "3855 success\n",
      "3856 success\n",
      "3857 success\n",
      "3858 success\n",
      "3859 success\n",
      "3860 success\n",
      "3861 success\n",
      "3862 success\n",
      "3863 success\n",
      "3864 success\n",
      "3865 success\n",
      "3866 success\n",
      "3867 success\n",
      "3868 success\n",
      "3869 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3870 success\n",
      "3871 success\n",
      "3872 success\n",
      "3873 success\n",
      "3874 success\n",
      "3875 success\n",
      "3876 success\n",
      "3877 success\n",
      "3878 success\n",
      "3879 success\n",
      "3880 success\n",
      "3881 success\n",
      "3882 success\n",
      "3883 success\n",
      "3884 success\n",
      "3885 success\n",
      "3886 success\n",
      "3887 success\n",
      "3888 success\n",
      "3889 success\n",
      "3890 success\n",
      "3891 success\n",
      "3892 success\n",
      "3893 success\n",
      "3894 success\n",
      "3895 success\n",
      "3896 success\n",
      "3897 success\n",
      "3898 success\n",
      "3899 success\n",
      "3900 success\n",
      "3901 success\n",
      "3902 success\n",
      "3903 success\n",
      "3904 success\n",
      "3905 success\n",
      "3906 success\n",
      "3907 success\n",
      "3908 success\n",
      "3909 success\n",
      "3910 success\n",
      "3911 success\n",
      "3912 success\n",
      "3913 success\n",
      "3914 success\n",
      "3915 success\n",
      "3916 success\n",
      "3917 success\n",
      "3918 success\n",
      "3919 success\n",
      "3920 success\n",
      "3921 success\n",
      "3922 success\n",
      "3923 success\n",
      "3924 success\n",
      "3925 success\n",
      "3926 success\n",
      "3927 success\n",
      "3928 success\n",
      "3929 success\n",
      "3930 success\n",
      "3931 success\n",
      "3932 success\n",
      "3933 success\n",
      "3934 success\n",
      "3935 success\n",
      "3936 success\n",
      "3937 success\n",
      "3938 success\n",
      "3939 success\n",
      "3940 success\n",
      "3941 success\n",
      "3942 success\n",
      "3943 success\n",
      "3944 success\n",
      "3945 success\n",
      "3946 success\n",
      "3947 success\n",
      "3948 success\n",
      "3949 success\n",
      "3950 success\n",
      "3951 success\n",
      "3952 success\n",
      "3953 success\n",
      "3954 success\n",
      "3955 success\n",
      "3956 success\n",
      "3957 success\n",
      "3958 success\n",
      "3959 success\n",
      "3960 success\n",
      "3961 success\n",
      "3962 success\n",
      "3963 success\n",
      "3964 success\n",
      "3965 success\n",
      "3966 success\n",
      "3967 success\n",
      "3968 success\n",
      "3969 success\n",
      "3970 success\n",
      "3971 success\n",
      "3972 success\n",
      "3973 success\n",
      "3974 success\n",
      "3975 success\n",
      "3976 success\n",
      "3977 success\n",
      "3978 success\n",
      "3979 success\n",
      "3980 success\n",
      "3981 success\n",
      "3982 success\n",
      "3983 success\n",
      "3984 success\n",
      "3985 success\n",
      "3986 success\n",
      "3987 success\n",
      "3988 success\n",
      "3989 success\n",
      "3990 success\n",
      "3991 success\n",
      "3992 success\n",
      "3993 success\n",
      "3994 success\n",
      "3995 success\n",
      "3996 success\n",
      "3997 success\n",
      "3998 success\n",
      "3999 success\n",
      "4000 success\n",
      "4001 success\n",
      "4002 success\n",
      "4003 success\n",
      "4004 success\n",
      "4005 success\n",
      "4006 success\n",
      "4007 success\n",
      "4008 success\n",
      "4009 success\n",
      "4010 success\n",
      "4011 success\n",
      "4012 success\n",
      "4013 success\n",
      "4014 success\n",
      "4015 success\n",
      "4016 success\n",
      "4017 success\n",
      "4018 success\n",
      "4019 success\n",
      "4020 success\n",
      "4021 success\n",
      "4022 success\n",
      "4023 success\n",
      "4024 success\n",
      "4025 success\n",
      "4026 success\n",
      "4027 success\n",
      "4028 success\n",
      "4029 success\n",
      "4030 success\n",
      "4031 success\n",
      "4032 success\n",
      "4033 success\n",
      "4034 success\n",
      "4035 success\n",
      "4036 success\n",
      "4037 success\n",
      "4038 success\n",
      "4039 success\n",
      "4040 success\n",
      "4041 success\n",
      "4042 success\n",
      "4043 success\n",
      "4044 success\n",
      "4045 success\n",
      "4046 success\n",
      "4047 success\n",
      "4048 success\n",
      "4049 success\n",
      "4050 success\n",
      "4051 success\n",
      "4052 success\n",
      "4053 success\n",
      "4054 success\n",
      "4055 success\n",
      "4056 success\n",
      "4057 success\n",
      "4058 success\n",
      "4059 success\n",
      "4060 success\n",
      "4061 success\n",
      "4062 success\n",
      "4063 success\n",
      "4064 success\n",
      "4065 success\n",
      "4066 success\n",
      "4067 success\n",
      "4068 success\n",
      "4069 success\n",
      "4070 success\n",
      "4071 success\n",
      "4072 success\n",
      "4073 success\n",
      "4074 success\n",
      "4075 success\n",
      "4076 success\n",
      "4077 success\n",
      "4078 success\n",
      "4079 success\n",
      "4080 success\n",
      "4081 success\n",
      "4082 success\n",
      "4083 success\n",
      "4084 success\n",
      "4085 success\n",
      "4086 success\n",
      "4087 success\n",
      "4088 success\n",
      "4089 success\n",
      "4090 success\n",
      "4091 success\n",
      "4092 success\n",
      "4093 success\n",
      "4094 success\n",
      "4095 success\n",
      "4096 success\n",
      "4097 success\n",
      "4098 success\n",
      "4099 success\n",
      "4100 success\n",
      "4101 success\n",
      "4102 success\n",
      "4103 success\n",
      "4104 success\n",
      "4105 success\n",
      "4106 success\n",
      "4107 success\n",
      "4108 success\n",
      "4109 success\n",
      "4110 success\n",
      "4111 success\n",
      "4112 success\n",
      "4113 success\n",
      "4114 success\n",
      "4115 success\n",
      "4116 success\n",
      "4117 success\n",
      "4118 success\n",
      "4119 success\n",
      "4120 success\n",
      "4121 success\n",
      "4122 success\n",
      "4123 success\n",
      "4124 success\n",
      "4125 success\n",
      "4126 success\n",
      "4127 success\n",
      "4128 success\n",
      "4129 success\n",
      "4130 success\n",
      "4131 success\n",
      "4132 success\n",
      "4133 success\n",
      "4134 success\n",
      "4135 success\n",
      "4136 success\n",
      "4137 success\n",
      "4138 success\n",
      "4139 success\n",
      "4140 success\n",
      "4141 success\n",
      "4142 success\n",
      "4143 success\n",
      "4144 success\n",
      "4145 success\n",
      "4146 success\n",
      "4147 success\n",
      "4148 success\n",
      "4149 success\n",
      "4150 success\n",
      "4151 success\n",
      "4152 success\n",
      "4153 success\n",
      "4154 success\n",
      "4155 success\n",
      "4156 success\n",
      "4157 success\n",
      "4158 success\n",
      "4159 success\n",
      "4160 success\n",
      "4161 success\n",
      "4162 success\n",
      "4163 success\n",
      "4164 success\n",
      "4165 success\n",
      "4166 success\n",
      "4167 success\n",
      "4168 success\n",
      "4169 success\n",
      "4170 success\n",
      "4171 success\n",
      "4172 success\n",
      "4173 success\n",
      "4174 success\n",
      "4175 success\n",
      "4176 success\n",
      "4177 success\n",
      "4178 success\n",
      "4179 success\n",
      "4180 success\n",
      "4181 success\n",
      "4182 success\n",
      "4183 success\n",
      "4184 success\n",
      "4185 success\n",
      "4186 success\n",
      "4187 success\n",
      "4188 success\n",
      "4189 success\n",
      "4190 success\n",
      "4191 success\n",
      "4192 success\n",
      "4193 success\n",
      "4194 success\n",
      "4195 success\n",
      "4196 success\n",
      "4197 success\n",
      "4198 success\n",
      "4199 success\n",
      "4200 success\n",
      "4201 success\n",
      "4202 success\n",
      "4203 success\n",
      "4204 success\n",
      "4205 success\n",
      "4206 success\n",
      "4207 success\n",
      "4208 success\n",
      "4209 success\n",
      "4210 success\n",
      "4211 success\n",
      "4212 success\n",
      "4213 success\n",
      "4214 success\n",
      "4215 success\n",
      "4216 success\n",
      "4217 success\n",
      "4218 success\n",
      "4219 success\n",
      "4220 success\n",
      "4221 success\n",
      "4222 success\n",
      "4223 success\n",
      "4224 success\n",
      "4225 success\n",
      "4226 success\n",
      "4227 success\n",
      "4228 success\n",
      "4229 success\n",
      "4230 success\n",
      "4231 success\n",
      "4232 success\n",
      "4233 success\n",
      "4234 success\n",
      "4235 success\n",
      "4236 success\n",
      "4237 success\n",
      "4238 success\n",
      "4239 success\n",
      "4240 success\n",
      "4241 success\n",
      "4242 success\n",
      "4243 success\n",
      "4244 success\n",
      "4245 success\n",
      "4246 success\n",
      "4247 success\n",
      "4248 success\n",
      "4249 success\n",
      "4250 success\n",
      "4251 success\n",
      "4252 success\n",
      "4253 success\n",
      "4254 success\n",
      "4255 success\n",
      "4256 success\n",
      "4257 success\n",
      "4258 success\n",
      "4259 success\n",
      "4260 success\n",
      "4261 success\n",
      "4262 success\n",
      "4263 success\n",
      "4264 success\n",
      "4265 success\n",
      "4266 success\n",
      "4267 success\n",
      "4268 success\n",
      "4269 success\n",
      "4270 success\n",
      "4271 success\n",
      "4272 success\n",
      "4273 success\n",
      "4274 success\n",
      "4275 success\n",
      "4276 success\n",
      "4277 success\n",
      "4278 success\n",
      "4279 success\n",
      "4280 success\n",
      "4281 success\n",
      "4282 success\n",
      "4283 success\n",
      "4284 success\n",
      "4285 success\n",
      "4286 success\n",
      "4287 success\n",
      "4288 success\n",
      "4289 success\n",
      "4290 success\n",
      "4291 success\n",
      "4292 success\n",
      "4293 success\n",
      "4294 success\n",
      "4295 success\n",
      "4296 success\n",
      "4297 success\n",
      "4298 success\n",
      "4299 success\n",
      "4300 success\n",
      "4301 success\n",
      "4302 success\n",
      "4303 success\n",
      "4304 success\n",
      "4305 success\n",
      "4306 success\n",
      "4307 success\n",
      "4308 success\n",
      "4309 success\n",
      "4310 success\n",
      "4311 success\n",
      "4312 success\n",
      "4313 success\n",
      "4314 success\n",
      "4315 success\n",
      "4316 success\n",
      "4317 success\n",
      "4318 success\n",
      "4319 success\n",
      "4320 success\n",
      "4321 success\n",
      "4322 success\n",
      "4323 success\n",
      "4324 success\n",
      "4325 success\n",
      "4326 success\n",
      "4327 success\n",
      "4328 success\n",
      "4329 success\n",
      "4330 success\n",
      "4331 success\n",
      "4332 success\n",
      "4333 success\n",
      "4334 success\n",
      "4335 success\n",
      "4336 success\n",
      "4337 success\n",
      "4338 success\n",
      "4339 success\n",
      "4340 success\n",
      "4341 success\n",
      "4342 success\n",
      "4343 success\n",
      "4344 success\n",
      "4345 success\n",
      "4346 success\n",
      "4347 success\n",
      "4348 success\n",
      "4349 success\n",
      "4350 success\n",
      "4351 success\n",
      "4352 success\n",
      "4353 success\n",
      "4354 success\n",
      "4355 success\n",
      "4356 success\n",
      "4357 success\n",
      "4358 success\n",
      "4359 success\n",
      "4360 success\n",
      "4361 success\n",
      "4362 success\n",
      "4363 success\n",
      "4364 success\n",
      "4365 success\n",
      "4366 success\n",
      "4367 success\n",
      "4368 success\n",
      "4369 success\n",
      "4370 success\n",
      "4371 success\n",
      "4372 success\n",
      "4373 success\n",
      "4374 success\n",
      "4375 success\n",
      "4376 success\n",
      "4377 success\n",
      "4378 success\n",
      "4379 success\n",
      "4380 success\n",
      "4381 success\n",
      "4382 success\n",
      "4383 success\n",
      "4384 success\n",
      "4385 success\n",
      "4386 success\n",
      "4387 success\n",
      "4388 success\n",
      "4389 success\n",
      "4390 success\n",
      "4391 success\n",
      "4392 success\n",
      "4393 success\n",
      "4394 success\n",
      "4395 success\n",
      "4396 success\n",
      "4397 success\n",
      "4398 success\n",
      "4399 success\n",
      "4400 success\n",
      "4401 success\n",
      "4402 success\n",
      "4403 success\n",
      "4404 success\n",
      "4405 success\n",
      "4406 success\n",
      "4407 success\n",
      "4408 success\n",
      "4409 success\n",
      "4410 success\n",
      "4411 success\n",
      "4412 success\n",
      "4413 success\n",
      "4414 success\n",
      "4415 success\n",
      "4416 success\n",
      "4417 success\n",
      "4418 success\n",
      "4419 success\n",
      "4420 success\n",
      "4421 success\n",
      "4422 success\n",
      "4423 success\n",
      "4424 success\n",
      "4425 success\n",
      "4426 success\n",
      "4427 success\n",
      "4428 success\n",
      "4429 success\n",
      "4430 success\n",
      "4431 success\n",
      "4432 success\n",
      "4433 success\n",
      "4434 success\n",
      "4435 success\n",
      "4436 success\n",
      "4437 success\n",
      "4438 success\n",
      "4439 success\n",
      "4440 success\n",
      "4441 success\n",
      "4442 success\n",
      "4443 success\n",
      "4444 success\n",
      "4445 success\n",
      "4446 success\n",
      "4447 success\n",
      "4448 success\n",
      "4449 success\n",
      "4450 success\n",
      "4451 success\n",
      "4452 success\n",
      "4453 success\n",
      "4454 success\n",
      "4455 success\n",
      "4456 success\n",
      "4457 success\n",
      "4458 success\n",
      "4459 success\n",
      "4460 success\n",
      "4461 success\n",
      "4462 success\n",
      "4463 success\n",
      "4464 success\n",
      "4465 success\n",
      "4466 success\n",
      "4467 success\n",
      "4468 success\n",
      "4469 success\n",
      "4470 success\n",
      "4471 success\n",
      "4472 success\n",
      "4473 success\n",
      "4474 success\n",
      "4475 success\n",
      "4476 success\n",
      "4477 success\n",
      "4478 success\n",
      "4479 success\n",
      "4480 success\n",
      "4481 success\n",
      "4482 success\n",
      "4483 success\n",
      "4484 success\n",
      "4485 success\n",
      "4486 success\n",
      "4487 success\n",
      "4488 success\n",
      "4489 success\n",
      "4490 success\n",
      "4491 success\n",
      "4492 success\n",
      "4493 success\n",
      "4494 success\n",
      "4495 success\n",
      "4496 success\n",
      "4497 success\n",
      "4498 success\n",
      "4499 success\n",
      "4500 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4501 success\n",
      "4502 success\n",
      "4503 success\n",
      "4504 success\n",
      "4505 success\n",
      "4506 success\n",
      "4507 success\n",
      "4508 success\n",
      "4509 success\n",
      "4510 success\n",
      "4511 success\n",
      "4512 success\n",
      "4513 success\n",
      "4514 success\n",
      "4515 success\n",
      "4516 success\n",
      "4517 success\n",
      "4518 success\n",
      "4519 success\n",
      "4520 success\n",
      "4521 success\n",
      "4522 success\n",
      "4523 success\n",
      "4524 success\n",
      "4525 success\n",
      "4526 success\n",
      "4527 success\n",
      "4528 success\n",
      "4529 success\n",
      "4530 success\n",
      "4531 success\n",
      "4532 success\n",
      "4533 success\n",
      "4534 success\n",
      "4535 success\n",
      "4536 success\n",
      "4537 success\n",
      "4538 success\n",
      "4539 success\n",
      "4540 success\n",
      "4541 success\n",
      "4542 success\n",
      "4543 success\n",
      "4544 success\n",
      "4545 success\n",
      "4546 success\n",
      "4547 success\n",
      "4548 success\n",
      "4549 success\n",
      "4550 success\n",
      "4551 success\n",
      "4552 success\n",
      "4553 success\n",
      "4554 success\n",
      "4555 success\n",
      "4556 success\n",
      "4557 success\n",
      "4558 success\n",
      "4559 success\n",
      "4560 success\n",
      "4561 success\n",
      "4562 success\n",
      "4563 success\n",
      "4564 success\n",
      "4565 success\n",
      "4566 success\n",
      "4567 success\n",
      "4568 success\n",
      "4569 success\n",
      "4570 success\n",
      "4571 success\n",
      "4572 success\n",
      "4573 success\n",
      "4574 success\n",
      "4575 success\n",
      "4576 success\n",
      "4577 success\n",
      "4578 success\n",
      "4579 success\n",
      "4580 success\n",
      "4581 success\n",
      "4582 success\n",
      "4583 success\n",
      "4584 success\n",
      "4585 success\n",
      "4586 success\n",
      "4587 success\n",
      "4588 success\n",
      "4589 success\n",
      "4590 success\n",
      "4591 success\n",
      "4592 success\n",
      "4593 success\n",
      "4594 success\n",
      "4595 success\n",
      "4596 success\n",
      "4597 success\n",
      "4598 success\n",
      "4599 success\n",
      "4600 success\n",
      "4601 success\n",
      "4602 success\n",
      "4603 success\n",
      "4604 success\n",
      "4605 success\n",
      "4606 success\n",
      "4607 success\n",
      "4608 success\n",
      "4609 success\n",
      "4610 success\n",
      "4611 success\n",
      "4612 success\n",
      "4613 success\n",
      "4614 success\n",
      "4615 success\n",
      "4616 success\n",
      "4617 success\n",
      "4618 success\n",
      "4619 success\n",
      "4620 success\n",
      "4621 success\n",
      "4622 success\n",
      "4623 success\n",
      "4624 success\n",
      "4625 success\n",
      "4626 success\n",
      "4627 success\n",
      "4628 success\n",
      "4629 success\n",
      "4630 success\n",
      "4631 success\n",
      "4632 success\n",
      "4633 success\n",
      "4634 success\n",
      "4635 success\n",
      "4636 success\n",
      "4637 success\n",
      "4638 success\n",
      "4639 success\n",
      "4640 success\n",
      "4641 success\n",
      "4642 success\n",
      "4643 success\n",
      "4644 success\n",
      "4645 success\n",
      "4646 success\n",
      "4647 success\n",
      "4648 success\n",
      "4649 success\n",
      "4650 success\n",
      "4651 success\n",
      "4652 success\n",
      "4653 success\n",
      "4654 success\n",
      "4655 success\n",
      "4656 success\n",
      "4657 success\n",
      "4658 success\n",
      "4659 success\n",
      "4660 success\n",
      "4661 success\n",
      "4662 success\n",
      "4663 success\n",
      "4664 success\n",
      "4665 success\n",
      "4666 success\n",
      "4667 success\n",
      "4668 success\n",
      "4669 success\n",
      "4670 success\n",
      "4671 success\n",
      "4672 success\n",
      "4673 success\n",
      "4674 success\n",
      "4675 success\n",
      "4676 success\n",
      "4677 success\n",
      "4678 success\n",
      "4679 success\n",
      "4680 success\n",
      "4681 success\n",
      "4682 success\n",
      "4683 success\n",
      "4684 success\n",
      "4685 success\n",
      "4686 success\n",
      "4687 success\n",
      "4688 success\n",
      "4689 success\n",
      "4690 success\n",
      "4691 success\n",
      "4692 success\n",
      "4693 success\n",
      "4694 success\n",
      "4695 success\n",
      "4696 success\n",
      "4697 success\n",
      "4698 success\n",
      "4699 success\n",
      "4700 success\n",
      "4701 success\n",
      "4702 success\n",
      "4703 success\n",
      "4704 success\n",
      "4705 success\n",
      "4706 success\n",
      "4707 success\n",
      "4708 success\n",
      "4709 success\n",
      "4710 success\n",
      "4711 success\n",
      "4712 success\n",
      "4713 success\n",
      "4714 success\n",
      "4715 success\n",
      "4716 success\n",
      "4717 success\n",
      "4718 success\n",
      "4719 success\n",
      "4720 success\n",
      "4721 success\n",
      "4722 success\n",
      "4723 success\n",
      "4724 success\n",
      "4725 success\n",
      "4726 success\n",
      "4727 success\n",
      "4728 success\n",
      "4729 success\n",
      "4730 success\n",
      "4731 success\n",
      "4732 success\n",
      "4733 success\n",
      "4734 success\n",
      "4735 success\n",
      "4736 success\n",
      "4737 success\n",
      "4738 success\n",
      "4739 success\n",
      "4740 success\n",
      "4741 success\n",
      "4742 success\n",
      "4743 success\n",
      "4744 success\n",
      "4745 success\n",
      "4746 success\n",
      "4747 success\n",
      "4748 success\n",
      "4749 success\n",
      "4750 success\n",
      "4751 success\n",
      "4752 success\n",
      "4753 success\n",
      "4754 success\n",
      "4755 success\n",
      "4756 success\n",
      "4757 success\n",
      "4758 success\n",
      "4759 success\n",
      "4760 success\n",
      "4761 success\n",
      "4762 success\n",
      "4763 success\n",
      "4764 success\n",
      "4765 success\n",
      "4766 success\n",
      "4767 success\n",
      "4768 success\n",
      "4769 success\n",
      "4770 success\n",
      "4771 success\n",
      "4772 success\n",
      "4773 success\n",
      "4774 success\n",
      "4775 success\n",
      "4776 success\n",
      "4777 success\n",
      "4778 success\n",
      "4779 success\n",
      "4780 success\n",
      "4781 success\n",
      "4782 success\n",
      "4783 success\n",
      "4784 success\n",
      "4785 success\n",
      "4786 success\n",
      "4787 success\n",
      "4788 success\n",
      "4789 success\n",
      "4790 success\n",
      "4791 success\n",
      "4792 success\n",
      "4793 success\n",
      "4794 success\n",
      "4795 success\n",
      "4796 success\n",
      "4797 success\n",
      "4798 success\n",
      "4799 success\n",
      "4800 success\n",
      "4801 success\n",
      "4802 success\n",
      "4803 success\n",
      "4804 success\n",
      "4805 success\n",
      "4806 success\n",
      "4807 success\n",
      "4808 success\n",
      "4809 success\n",
      "4810 success\n",
      "4811 success\n",
      "4812 success\n",
      "4813 success\n",
      "4814 success\n",
      "4815 success\n",
      "4816 success\n",
      "4817 success\n",
      "4818 success\n",
      "4819 success\n",
      "4820 success\n",
      "4821 success\n",
      "4822 success\n",
      "4823 success\n",
      "4824 success\n",
      "4825 success\n",
      "4826 success\n",
      "4827 success\n",
      "4828 success\n",
      "4829 success\n",
      "4830 success\n",
      "4831 success\n",
      "4832 success\n",
      "4833 success\n",
      "4834 success\n",
      "4835 success\n",
      "4836 success\n",
      "4837 success\n",
      "4838 success\n",
      "4839 success\n",
      "4840 success\n",
      "4841 success\n",
      "4842 success\n",
      "4843 success\n",
      "4844 success\n",
      "4845 success\n",
      "4846 success\n",
      "4847 success\n",
      "4848 success\n",
      "4849 success\n",
      "4850 success\n",
      "4851 success\n",
      "4852 success\n",
      "4853 success\n",
      "4854 success\n",
      "4855 success\n",
      "4856 success\n",
      "4857 success\n",
      "4858 success\n",
      "4859 success\n",
      "4860 success\n",
      "4861 success\n",
      "4862 success\n",
      "4863 success\n",
      "4864 success\n",
      "4865 success\n",
      "4866 success\n",
      "4867 success\n",
      "4868 success\n",
      "4869 success\n",
      "4870 success\n",
      "4871 success\n",
      "4872 success\n",
      "4873 success\n",
      "4874 success\n",
      "4875 success\n",
      "4876 success\n",
      "4877 success\n",
      "4878 success\n",
      "4879 success\n",
      "4880 success\n",
      "4881 success\n",
      "4882 success\n",
      "4883 success\n",
      "4884 success\n",
      "4885 success\n",
      "4886 success\n",
      "4887 success\n",
      "4888 success\n",
      "4889 success\n",
      "4890 success\n",
      "4891 success\n",
      "4892 success\n",
      "4893 success\n",
      "4894 success\n",
      "4895 success\n",
      "4896 success\n",
      "4897 success\n",
      "4898 success\n",
      "4899 success\n",
      "4900 success\n",
      "4901 success\n",
      "4902 success\n",
      "4903 success\n",
      "4904 success\n",
      "4905 success\n",
      "4906 success\n",
      "4907 success\n",
      "4908 success\n",
      "4909 success\n",
      "4910 success\n",
      "4911 success\n",
      "4912 success\n",
      "4913 success\n",
      "4914 success\n",
      "4915 success\n",
      "4916 success\n",
      "4917 success\n",
      "4918 success\n",
      "4919 success\n",
      "4920 success\n",
      "4921 success\n",
      "4922 success\n",
      "4923 success\n",
      "4924 success\n",
      "4925 success\n",
      "4926 success\n",
      "4927 success\n",
      "4928 success\n",
      "4929 success\n",
      "4930 success\n",
      "4931 success\n",
      "4932 success\n",
      "4933 success\n",
      "4934 success\n",
      "4935 success\n",
      "4936 success\n",
      "4937 success\n",
      "4938 success\n",
      "4939 success\n",
      "4940 success\n",
      "4941 success\n",
      "4942 success\n",
      "4943 success\n",
      "4944 success\n",
      "4945 success\n",
      "4946 success\n",
      "4947 success\n",
      "4948 success\n",
      "4949 success\n",
      "4950 success\n",
      "4951 success\n",
      "4952 success\n",
      "4953 success\n",
      "4954 success\n",
      "4955 success\n",
      "4956 success\n",
      "4957 success\n",
      "4958 success\n",
      "4959 success\n",
      "4960 success\n",
      "4961 success\n",
      "4962 success\n",
      "4963 success\n",
      "4964 success\n",
      "4965 success\n",
      "4966 success\n",
      "4967 success\n",
      "4968 success\n",
      "4969 success\n",
      "4970 success\n",
      "4971 success\n",
      "4972 success\n",
      "4973 success\n",
      "4974 success\n",
      "4975 success\n",
      "4976 success\n",
      "4977 success\n",
      "4978 success\n",
      "4979 success\n",
      "4980 success\n",
      "4981 success\n",
      "4982 success\n",
      "4983 success\n",
      "4984 success\n",
      "4985 success\n",
      "4986 success\n",
      "4987 success\n",
      "4988 success\n",
      "4989 success\n",
      "4990 success\n",
      "4991 success\n",
      "4992 success\n",
      "4993 success\n",
      "4994 success\n",
      "4995 success\n",
      "4996 success\n",
      "4997 success\n",
      "4998 success\n",
      "4999 success\n",
      "5000 success\n",
      "5001 success\n",
      "5002 success\n",
      "5003 success\n",
      "5004 success\n",
      "5005 success\n",
      "5006 success\n",
      "5007 success\n",
      "5008 success\n",
      "5009 success\n",
      "5010 success\n",
      "5011 success\n",
      "5012 success\n",
      "5013 success\n",
      "5014 success\n",
      "5015 success\n",
      "5016 success\n",
      "5017 success\n",
      "5018 success\n",
      "5019 success\n",
      "5020 success\n",
      "5021 success\n",
      "5022 success\n",
      "5023 success\n",
      "5024 success\n",
      "5025 success\n",
      "5026 success\n",
      "5027 success\n",
      "5028 success\n",
      "5029 success\n",
      "5030 success\n",
      "5031 success\n",
      "5032 success\n",
      "5033 success\n",
      "5034 success\n",
      "5035 success\n",
      "5036 success\n",
      "5037 success\n",
      "5038 success\n",
      "5039 success\n",
      "5040 success\n",
      "5041 success\n",
      "5042 success\n",
      "5043 success\n",
      "5044 success\n",
      "5045 success\n",
      "5046 success\n",
      "5047 success\n",
      "5048 success\n",
      "5049 success\n",
      "5050 success\n",
      "5051 success\n",
      "5052 success\n",
      "5053 success\n",
      "5054 success\n",
      "5055 success\n",
      "5056 success\n",
      "5057 success\n",
      "5058 success\n",
      "5059 success\n",
      "5060 success\n",
      "5061 success\n",
      "5062 success\n",
      "5063 success\n",
      "5064 success\n",
      "5065 success\n",
      "5066 success\n",
      "5067 success\n",
      "5068 success\n",
      "5069 success\n",
      "5070 success\n",
      "5071 success\n",
      "5072 success\n",
      "5073 success\n",
      "5074 success\n",
      "5075 success\n",
      "5076 success\n",
      "5077 success\n",
      "5078 success\n",
      "5079 success\n",
      "5080 success\n",
      "5081 success\n",
      "5082 success\n",
      "5083 success\n",
      "5084 success\n",
      "5085 success\n",
      "5086 success\n",
      "5087 success\n",
      "5088 success\n",
      "5089 success\n",
      "5090 success\n",
      "5091 success\n",
      "5092 success\n",
      "5093 success\n",
      "5094 success\n",
      "5095 success\n",
      "5096 success\n",
      "5097 success\n",
      "5098 success\n",
      "5099 success\n",
      "5100 success\n",
      "5101 success\n",
      "5102 success\n",
      "5103 success\n",
      "5104 success\n",
      "5105 success\n",
      "5106 success\n",
      "5107 success\n",
      "5108 success\n",
      "5109 success\n",
      "5110 success\n",
      "5111 success\n",
      "5112 success\n",
      "5113 success\n",
      "5114 success\n",
      "5115 success\n",
      "5116 success\n",
      "5117 success\n",
      "5118 success\n",
      "5119 success\n",
      "5120 success\n",
      "5121 success\n",
      "5122 success\n",
      "5123 success\n",
      "5124 success\n",
      "5125 success\n",
      "5126 success\n",
      "5127 success\n",
      "5128 success\n",
      "5129 success\n",
      "5130 success\n",
      "5131 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "5132 success\n",
      "5133 success\n",
      "5134 success\n",
      "5135 success\n",
      "5136 success\n",
      "5137 success\n",
      "5138 success\n",
      "5139 success\n",
      "5140 success\n",
      "5141 success\n",
      "5142 success\n",
      "5143 success\n",
      "5144 success\n",
      "5145 success\n",
      "5146 success\n",
      "5147 success\n",
      "5148 success\n",
      "5149 success\n",
      "5150 success\n",
      "5151 success\n",
      "5152 success\n",
      "5153 success\n",
      "5154 success\n",
      "5155 success\n",
      "5156 success\n",
      "5157 success\n",
      "5158 success\n",
      "5159 success\n",
      "5160 success\n",
      "5161 success\n",
      "5162 success\n",
      "5163 success\n",
      "5164 success\n",
      "5165 success\n",
      "5166 success\n",
      "5167 success\n",
      "5168 success\n",
      "5169 success\n",
      "5170 success\n",
      "5171 success\n",
      "5172 success\n",
      "5173 success\n",
      "5174 success\n",
      "5175 success\n",
      "5176 success\n",
      "5177 success\n",
      "5178 success\n",
      "5179 success\n",
      "5180 success\n",
      "5181 success\n",
      "5182 success\n",
      "5183 success\n",
      "5184 success\n",
      "5185 success\n",
      "5186 success\n",
      "5187 success\n",
      "5188 success\n",
      "5189 success\n",
      "5190 success\n",
      "5191 success\n",
      "5192 success\n",
      "5193 success\n",
      "5194 success\n",
      "5195 success\n",
      "5196 success\n",
      "5197 success\n",
      "5198 success\n",
      "5199 success\n",
      "5200 success\n",
      "5201 success\n",
      "5202 success\n",
      "5203 success\n",
      "5204 success\n",
      "5205 success\n",
      "5206 success\n",
      "5207 success\n",
      "5208 success\n",
      "5209 success\n",
      "5210 success\n",
      "5211 success\n",
      "5212 success\n",
      "5213 success\n",
      "5214 success\n",
      "5215 success\n",
      "5216 success\n",
      "5217 success\n",
      "5218 success\n",
      "5219 success\n",
      "5220 success\n",
      "5221 success\n",
      "5222 success\n",
      "5223 success\n",
      "5224 success\n",
      "5225 success\n",
      "5226 success\n",
      "5227 success\n",
      "5228 success\n",
      "5229 success\n",
      "5230 success\n",
      "5231 success\n",
      "5232 success\n",
      "5233 success\n",
      "5234 success\n",
      "5235 success\n",
      "5236 success\n",
      "5237 success\n",
      "5238 success\n",
      "5239 success\n",
      "5240 success\n",
      "5241 success\n",
      "5242 success\n",
      "5243 success\n",
      "5244 success\n",
      "5245 success\n",
      "5246 success\n",
      "5247 success\n",
      "5248 success\n",
      "5249 success\n",
      "5250 success\n",
      "5251 success\n",
      "5252 success\n",
      "5253 success\n",
      "5254 success\n",
      "5255 success\n",
      "5256 success\n",
      "5257 success\n",
      "5258 success\n",
      "5259 success\n",
      "5260 success\n",
      "5261 success\n",
      "5262 success\n",
      "5263 success\n",
      "5264 success\n",
      "5265 success\n",
      "5266 success\n",
      "5267 success\n",
      "5268 success\n",
      "5269 success\n",
      "5270 success\n",
      "5271 success\n",
      "5272 success\n",
      "5273 success\n",
      "5274 success\n",
      "5275 success\n",
      "5276 success\n",
      "5277 success\n",
      "5278 success\n",
      "5279 success\n",
      "5280 success\n",
      "5281 success\n",
      "5282 success\n",
      "5283 success\n",
      "5284 success\n",
      "5285 success\n",
      "5286 success\n",
      "5287 success\n",
      "5288 success\n",
      "5289 success\n",
      "5290 success\n",
      "5291 success\n",
      "5292 success\n",
      "5293 success\n",
      "5294 success\n",
      "5295 success\n",
      "5296 success\n",
      "5297 success\n",
      "5298 success\n",
      "5299 success\n",
      "5300 success\n",
      "5301 success\n",
      "5302 success\n",
      "5303 success\n",
      "5304 success\n",
      "5305 success\n",
      "5306 success\n",
      "5307 success\n",
      "5308 success\n",
      "5309 success\n",
      "5310 success\n",
      "5311 success\n",
      "5312 success\n",
      "5313 success\n",
      "5314 success\n",
      "5315 success\n",
      "5316 success\n",
      "5317 success\n",
      "5318 success\n",
      "5319 success\n",
      "5320 success\n",
      "5321 success\n",
      "5322 success\n",
      "5323 success\n",
      "5324 success\n",
      "5325 success\n",
      "5326 success\n",
      "5327 success\n",
      "5328 success\n",
      "5329 success\n",
      "5330 success\n",
      "5331 success\n",
      "5332 success\n",
      "5333 success\n",
      "5334 success\n",
      "5335 success\n",
      "5336 success\n",
      "5337 success\n",
      "5338 success\n",
      "5339 success\n",
      "5340 success\n",
      "5341 success\n",
      "5342 success\n",
      "5343 success\n",
      "5344 success\n",
      "5345 success\n",
      "5346 success\n",
      "5347 success\n",
      "5348 success\n",
      "5349 success\n",
      "5350 success\n",
      "5351 success\n",
      "5352 success\n",
      "5353 success\n",
      "5354 success\n",
      "5355 success\n",
      "5356 success\n",
      "5357 success\n",
      "5358 success\n",
      "5359 success\n",
      "5360 success\n",
      "5361 success\n",
      "5362 success\n",
      "5363 success\n",
      "5364 success\n",
      "5365 success\n",
      "5366 success\n",
      "5367 success\n",
      "5368 success\n",
      "5369 success\n",
      "5370 success\n",
      "5371 success\n",
      "5372 success\n",
      "5373 success\n",
      "5374 success\n",
      "5375 success\n",
      "5376 success\n",
      "5377 success\n",
      "5378 success\n",
      "5379 success\n",
      "5380 success\n",
      "5381 success\n",
      "5382 success\n",
      "5383 success\n",
      "5384 success\n",
      "5385 success\n",
      "5386 success\n",
      "5387 success\n",
      "5388 success\n",
      "5389 success\n",
      "5390 success\n",
      "5391 success\n",
      "5392 success\n",
      "5393 success\n",
      "5394 success\n",
      "5395 success\n",
      "5396 success\n",
      "5397 success\n",
      "5398 success\n",
      "5399 success\n",
      "5400 success\n",
      "5401 success\n",
      "5402 success\n",
      "5403 success\n",
      "5404 success\n",
      "5405 success\n",
      "5406 success\n",
      "5407 success\n",
      "5408 success\n",
      "5409 success\n",
      "5410 success\n",
      "5411 success\n",
      "5412 success\n",
      "5413 success\n",
      "5414 success\n",
      "5415 success\n",
      "5416 success\n",
      "5417 success\n",
      "5418 success\n",
      "5419 success\n",
      "5420 success\n",
      "5421 success\n",
      "5422 success\n",
      "5423 success\n",
      "5424 success\n",
      "5425 success\n",
      "5426 success\n",
      "5427 success\n",
      "5428 success\n",
      "5429 success\n",
      "5430 success\n",
      "5431 success\n",
      "5432 success\n",
      "5433 success\n",
      "5434 success\n",
      "5435 success\n",
      "5436 success\n",
      "5437 success\n",
      "5438 success\n",
      "5439 success\n",
      "5440 success\n",
      "5441 success\n",
      "5442 success\n",
      "5443 success\n",
      "5444 success\n",
      "5445 success\n",
      "5446 success\n",
      "5447 success\n",
      "5448 success\n",
      "5449 success\n",
      "5450 success\n",
      "5451 success\n",
      "5452 success\n",
      "5453 success\n",
      "5454 success\n",
      "5455 success\n",
      "5456 success\n",
      "5457 success\n",
      "5458 success\n",
      "5459 success\n",
      "5460 success\n",
      "5461 success\n",
      "5462 success\n",
      "5463 success\n",
      "5464 success\n",
      "5465 success\n",
      "5466 success\n",
      "5467 success\n",
      "5468 success\n",
      "5469 success\n",
      "5470 success\n",
      "5471 success\n",
      "5472 success\n",
      "5473 success\n",
      "5474 success\n",
      "5475 success\n",
      "5476 success\n",
      "5477 success\n",
      "5478 success\n",
      "5479 success\n",
      "5480 success\n",
      "5481 success\n",
      "5482 success\n",
      "5483 success\n",
      "5484 success\n",
      "5485 success\n",
      "5486 success\n",
      "5487 success\n",
      "5488 success\n",
      "5489 success\n",
      "5490 success\n",
      "5491 success\n",
      "5492 success\n",
      "5493 success\n",
      "5494 success\n",
      "5495 success\n",
      "5496 success\n",
      "5497 success\n",
      "5498 success\n",
      "5499 success\n",
      "5500 success\n",
      "5501 success\n",
      "5502 success\n",
      "5503 success\n",
      "5504 success\n",
      "5505 success\n",
      "5506 success\n",
      "5507 success\n",
      "5508 success\n",
      "5509 success\n",
      "5510 success\n",
      "5511 success\n",
      "5512 success\n",
      "5513 success\n",
      "5514 success\n",
      "5515 success\n",
      "5516 success\n",
      "5517 success\n",
      "5518 success\n",
      "5519 success\n",
      "5520 success\n",
      "5521 success\n",
      "5522 success\n",
      "5523 success\n",
      "5524 success\n",
      "5525 success\n",
      "5526 success\n",
      "5527 success\n",
      "5528 success\n",
      "5529 success\n",
      "5530 success\n",
      "5531 success\n",
      "5532 success\n",
      "5533 success\n",
      "5534 success\n",
      "5535 success\n",
      "5536 success\n",
      "5537 success\n",
      "5538 success\n",
      "5539 success\n",
      "5540 success\n",
      "5541 success\n",
      "5542 success\n",
      "5543 success\n",
      "5544 success\n",
      "5545 success\n",
      "5546 success\n",
      "5547 success\n",
      "5548 success\n",
      "5549 success\n",
      "5550 success\n",
      "5551 success\n",
      "5552 success\n",
      "5553 success\n",
      "5554 success\n",
      "5555 success\n",
      "5556 success\n",
      "5557 success\n",
      "5558 success\n",
      "5559 success\n",
      "5560 success\n",
      "5561 success\n",
      "5562 success\n",
      "5563 success\n",
      "5564 success\n",
      "5565 success\n",
      "5566 success\n",
      "5567 success\n",
      "5568 success\n",
      "5569 success\n",
      "5570 success\n",
      "5571 success\n",
      "5572 success\n",
      "5573 success\n",
      "5574 success\n",
      "5575 success\n",
      "5576 success\n",
      "5577 success\n",
      "5578 success\n",
      "5579 success\n",
      "5580 success\n",
      "5581 success\n",
      "5582 success\n",
      "5583 success\n",
      "5584 success\n",
      "5585 success\n",
      "5586 success\n",
      "5587 success\n",
      "5588 success\n",
      "5589 success\n",
      "5590 success\n",
      "5591 success\n",
      "5592 success\n",
      "5593 success\n",
      "5594 success\n",
      "5595 success\n",
      "5596 success\n",
      "5597 success\n",
      "5598 success\n",
      "5599 success\n",
      "5600 success\n",
      "5601 success\n",
      "5602 success\n",
      "5603 success\n",
      "5604 success\n",
      "5605 success\n",
      "5606 success\n",
      "5607 success\n",
      "5608 success\n",
      "5609 success\n",
      "5610 success\n",
      "5611 success\n",
      "5612 success\n",
      "5613 success\n",
      "5614 success\n",
      "5615 success\n",
      "5616 success\n",
      "5617 success\n",
      "5618 success\n",
      "5619 success\n",
      "5620 success\n",
      "5621 success\n",
      "5622 success\n",
      "5623 success\n",
      "5624 success\n",
      "5625 success\n",
      "5626 success\n",
      "5627 success\n",
      "5628 success\n",
      "5629 success\n",
      "5630 success\n",
      "5631 success\n",
      "5632 success\n",
      "5633 success\n",
      "5634 success\n",
      "5635 success\n",
      "5636 success\n",
      "5637 success\n",
      "5638 success\n",
      "5639 success\n",
      "5640 success\n",
      "5641 success\n",
      "5642 success\n",
      "5643 success\n",
      "5644 success\n",
      "5645 success\n",
      "5646 success\n",
      "5647 success\n",
      "5648 success\n",
      "5649 success\n",
      "5650 success\n",
      "5651 success\n",
      "5652 success\n",
      "5653 success\n",
      "5654 success\n",
      "5655 success\n",
      "5656 success\n",
      "5657 success\n",
      "5658 success\n",
      "5659 success\n",
      "5660 success\n",
      "5661 success\n",
      "5662 success\n",
      "5663 success\n",
      "5664 success\n",
      "5665 success\n",
      "5666 success\n",
      "5667 success\n",
      "5668 success\n",
      "5669 success\n",
      "5670 success\n",
      "5671 success\n",
      "5672 success\n",
      "5673 success\n",
      "5674 success\n",
      "5675 success\n",
      "5676 success\n",
      "5677 success\n",
      "5678 success\n",
      "5679 success\n",
      "5680 success\n",
      "5681 success\n",
      "5682 success\n",
      "5683 success\n",
      "5684 success\n",
      "5685 success\n",
      "5686 success\n",
      "5687 success\n",
      "5688 success\n",
      "5689 success\n",
      "5690 success\n",
      "5691 success\n",
      "5692 success\n",
      "5693 success\n",
      "5694 success\n",
      "5695 success\n",
      "5696 success\n",
      "5697 success\n",
      "5698 success\n",
      "5699 success\n",
      "5700 success\n",
      "5701 success\n",
      "5702 success\n",
      "5703 success\n",
      "5704 success\n",
      "5705 success\n",
      "5706 success\n",
      "5707 success\n",
      "5708 success\n",
      "5709 success\n",
      "5710 success\n",
      "5711 success\n",
      "5712 success\n",
      "5713 success\n",
      "5714 success\n",
      "5715 success\n",
      "5716 success\n",
      "5717 success\n",
      "5718 success\n",
      "5719 success\n",
      "5720 success\n",
      "5721 success\n",
      "5722 success\n",
      "5723 success\n",
      "5724 success\n",
      "5725 success\n",
      "5726 success\n",
      "5727 success\n",
      "5728 success\n",
      "5729 success\n",
      "5730 success\n",
      "5731 success\n",
      "5732 success\n",
      "5733 success\n",
      "5734 success\n",
      "5735 success\n",
      "5736 success\n",
      "5737 success\n",
      "5738 success\n",
      "5739 success\n",
      "5740 success\n",
      "5741 success\n",
      "5742 success\n",
      "5743 success\n",
      "5744 success\n",
      "5745 success\n",
      "5746 success\n",
      "5747 success\n",
      "5748 success\n",
      "5749 success\n",
      "5750 success\n",
      "5751 success\n",
      "5752 success\n",
      "5753 success\n",
      "5754 success\n",
      "5755 success\n",
      "5756 success\n",
      "5757 success\n",
      "5758 success\n",
      "5759 success\n",
      "5760 success\n",
      "5761 success\n",
      "5762 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "5763 success\n",
      "5764 success\n",
      "5765 success\n",
      "5766 success\n",
      "5767 success\n",
      "5768 success\n",
      "5769 success\n",
      "5770 success\n",
      "5771 success\n",
      "5772 success\n",
      "5773 success\n",
      "5774 success\n",
      "5775 success\n",
      "5776 success\n",
      "5777 success\n",
      "5778 success\n",
      "5779 success\n",
      "5780 success\n",
      "5781 success\n",
      "5782 success\n",
      "5783 success\n",
      "5784 success\n",
      "5785 success\n",
      "5786 success\n",
      "5787 success\n",
      "5788 success\n",
      "5789 success\n",
      "5790 success\n",
      "5791 success\n",
      "5792 success\n",
      "5793 success\n",
      "5794 success\n",
      "5795 success\n",
      "5796 success\n",
      "5797 success\n",
      "5798 success\n",
      "5799 success\n",
      "5800 success\n",
      "5801 success\n",
      "5802 success\n",
      "5803 success\n",
      "5804 success\n",
      "5805 success\n",
      "5806 success\n",
      "5807 success\n",
      "5808 success\n",
      "5809 success\n",
      "5810 success\n",
      "5811 success\n",
      "5812 success\n",
      "5813 success\n",
      "5814 success\n",
      "5815 success\n",
      "5816 success\n",
      "5817 success\n",
      "5818 success\n",
      "5819 success\n",
      "5820 success\n",
      "5821 success\n",
      "5822 success\n",
      "5823 success\n",
      "5824 success\n",
      "5825 success\n",
      "5826 success\n",
      "5827 success\n",
      "5828 success\n",
      "5829 success\n",
      "5830 success\n",
      "5831 success\n",
      "5832 success\n",
      "5833 success\n",
      "5834 success\n",
      "5835 success\n",
      "5836 success\n",
      "5837 success\n",
      "5838 success\n",
      "5839 success\n",
      "5840 success\n",
      "5841 success\n",
      "5842 success\n",
      "5843 success\n",
      "5844 success\n",
      "5845 success\n",
      "5846 success\n",
      "5847 success\n",
      "5848 success\n",
      "5849 success\n",
      "5850 success\n",
      "5851 success\n",
      "5852 success\n",
      "5853 success\n",
      "5854 success\n",
      "5855 success\n",
      "5856 success\n",
      "5857 success\n",
      "5858 success\n",
      "5859 success\n",
      "5860 success\n",
      "5861 success\n",
      "5862 success\n",
      "5863 success\n",
      "5864 success\n",
      "5865 success\n",
      "5866 success\n",
      "5867 success\n",
      "5868 success\n",
      "5869 success\n",
      "5870 success\n",
      "5871 success\n",
      "5872 success\n",
      "5873 success\n",
      "5874 success\n",
      "5875 success\n",
      "5876 success\n",
      "5877 success\n",
      "5878 success\n",
      "5879 success\n",
      "5880 success\n",
      "5881 success\n",
      "5882 success\n",
      "5883 success\n",
      "5884 success\n",
      "5885 success\n",
      "5886 success\n",
      "5887 success\n",
      "5888 success\n",
      "5889 success\n",
      "5890 success\n",
      "5891 success\n",
      "5892 success\n",
      "5893 success\n",
      "5894 success\n",
      "5895 success\n",
      "5896 success\n",
      "5897 success\n",
      "5898 success\n",
      "5899 success\n",
      "5900 success\n",
      "5901 success\n",
      "5902 success\n",
      "5903 success\n",
      "5904 success\n",
      "5905 success\n",
      "5906 success\n",
      "5907 success\n",
      "5908 success\n",
      "5909 success\n",
      "5910 success\n",
      "5911 success\n",
      "5912 success\n",
      "5913 success\n",
      "5914 success\n",
      "5915 success\n",
      "5916 success\n",
      "5917 success\n",
      "5918 success\n",
      "5919 success\n",
      "5920 success\n",
      "5921 success\n",
      "5922 success\n",
      "5923 success\n",
      "5924 success\n",
      "5925 success\n",
      "5926 success\n",
      "5927 success\n",
      "5928 success\n",
      "5929 success\n",
      "5930 success\n",
      "5931 success\n",
      "5932 success\n",
      "5933 success\n",
      "5934 success\n",
      "5935 success\n",
      "5936 success\n",
      "5937 success\n",
      "5938 success\n",
      "5939 success\n",
      "5940 success\n",
      "5941 success\n",
      "5942 success\n",
      "5943 success\n",
      "5944 success\n",
      "5945 success\n",
      "5946 success\n",
      "5947 success\n",
      "5948 success\n",
      "5949 success\n",
      "5950 success\n",
      "5951 success\n",
      "5952 success\n",
      "5953 success\n",
      "5954 success\n",
      "5955 success\n",
      "5956 success\n",
      "5957 success\n",
      "5958 success\n",
      "5959 success\n",
      "5960 success\n",
      "5961 success\n",
      "5962 success\n",
      "5963 success\n",
      "5964 success\n",
      "5965 success\n",
      "5966 success\n",
      "5967 success\n",
      "5968 success\n",
      "5969 success\n",
      "5970 success\n",
      "5971 success\n",
      "5972 success\n",
      "5973 success\n",
      "5974 success\n",
      "5975 success\n",
      "5976 success\n",
      "5977 success\n",
      "5978 success\n",
      "5979 success\n",
      "5980 success\n",
      "5981 success\n",
      "5982 success\n",
      "5983 success\n",
      "5984 success\n",
      "5985 success\n",
      "5986 success\n",
      "5987 success\n",
      "5988 success\n",
      "5989 success\n",
      "5990 success\n",
      "5991 success\n",
      "5992 success\n",
      "5993 success\n",
      "5994 success\n",
      "5995 success\n",
      "5996 success\n",
      "5997 success\n",
      "5998 success\n",
      "5999 success\n",
      "6000 success\n",
      "6001 success\n",
      "6002 success\n",
      "6003 success\n",
      "6004 success\n",
      "6005 success\n",
      "6006 success\n",
      "6007 success\n",
      "6008 success\n",
      "6009 success\n",
      "6010 success\n",
      "6011 success\n",
      "6012 success\n",
      "6013 success\n",
      "6014 success\n",
      "6015 success\n",
      "6016 success\n",
      "6017 success\n",
      "6018 success\n",
      "6019 success\n",
      "6020 success\n",
      "6021 success\n",
      "6022 success\n",
      "6023 success\n",
      "6024 success\n",
      "6025 success\n",
      "6026 success\n",
      "6027 success\n",
      "6028 success\n",
      "6029 success\n",
      "6030 success\n",
      "6031 success\n",
      "6032 success\n",
      "6033 success\n",
      "6034 success\n",
      "6035 success\n",
      "6036 success\n",
      "6037 success\n",
      "6038 success\n",
      "6039 success\n",
      "6040 success\n",
      "6041 success\n",
      "6042 success\n",
      "6043 success\n",
      "6044 success\n",
      "6045 success\n",
      "6046 success\n",
      "6047 success\n",
      "6048 success\n",
      "6049 success\n",
      "6050 success\n",
      "6051 success\n",
      "6052 success\n",
      "6053 success\n",
      "6054 success\n",
      "6055 success\n",
      "6056 success\n",
      "6057 success\n",
      "6058 success\n",
      "6059 success\n",
      "6060 success\n",
      "6061 success\n",
      "6062 success\n",
      "6063 success\n",
      "6064 success\n",
      "6065 success\n",
      "6066 success\n",
      "6067 success\n",
      "6068 success\n",
      "6069 success\n",
      "6070 success\n",
      "6071 success\n",
      "6072 success\n",
      "6073 success\n",
      "6074 success\n",
      "6075 success\n",
      "6076 success\n",
      "6077 success\n",
      "6078 success\n",
      "6079 success\n",
      "6080 success\n",
      "6081 success\n",
      "6082 success\n",
      "6083 success\n",
      "6084 success\n",
      "6085 success\n",
      "6086 success\n",
      "6087 success\n",
      "6088 success\n",
      "6089 success\n",
      "6090 success\n",
      "6091 success\n",
      "6092 success\n",
      "6093 success\n",
      "6094 success\n",
      "6095 success\n",
      "6096 success\n",
      "6097 success\n",
      "6098 success\n",
      "6099 success\n",
      "6100 success\n",
      "6101 success\n",
      "6102 success\n",
      "6103 success\n",
      "6104 success\n",
      "6105 success\n",
      "6106 success\n",
      "6107 success\n",
      "6108 success\n",
      "6109 success\n",
      "6110 success\n",
      "6111 success\n",
      "6112 success\n",
      "6113 success\n",
      "6114 success\n",
      "6115 success\n",
      "6116 success\n",
      "6117 success\n",
      "6118 success\n",
      "6119 success\n",
      "6120 success\n",
      "6121 success\n",
      "6122 success\n",
      "6123 success\n",
      "6124 success\n",
      "6125 success\n",
      "6126 success\n",
      "6127 success\n",
      "6128 success\n",
      "6129 success\n",
      "6130 success\n",
      "6131 success\n",
      "6132 success\n",
      "6133 success\n",
      "6134 success\n",
      "6135 success\n",
      "6136 success\n",
      "6137 success\n",
      "6138 success\n",
      "6139 success\n",
      "6140 success\n",
      "6141 success\n",
      "6142 success\n",
      "6143 success\n",
      "6144 success\n",
      "6145 success\n",
      "6146 success\n",
      "6147 success\n",
      "6148 success\n",
      "6149 success\n",
      "6150 success\n",
      "6151 success\n",
      "6152 success\n",
      "6153 success\n",
      "6154 success\n",
      "6155 success\n",
      "6156 success\n",
      "6157 success\n",
      "6158 success\n",
      "6159 success\n",
      "6160 success\n",
      "6161 success\n",
      "6162 success\n",
      "6163 success\n",
      "6164 success\n",
      "6165 success\n",
      "6166 success\n",
      "6167 success\n",
      "6168 success\n",
      "6169 success\n",
      "6170 success\n",
      "6171 success\n",
      "6172 success\n",
      "6173 success\n",
      "6174 success\n",
      "6175 success\n",
      "6176 success\n",
      "6177 success\n",
      "6178 success\n",
      "6179 success\n",
      "6180 success\n",
      "6181 success\n",
      "6182 success\n",
      "6183 success\n",
      "6184 success\n",
      "6185 success\n",
      "6186 success\n",
      "6187 success\n",
      "6188 success\n",
      "6189 success\n",
      "6190 success\n",
      "6191 success\n",
      "6192 success\n",
      "6193 success\n",
      "6194 success\n",
      "6195 success\n",
      "6196 success\n",
      "6197 success\n",
      "6198 success\n",
      "6199 success\n",
      "6200 success\n",
      "6201 success\n",
      "6202 success\n",
      "6203 success\n",
      "6204 success\n",
      "6205 success\n",
      "6206 success\n",
      "6207 success\n",
      "6208 success\n",
      "6209 success\n",
      "6210 success\n",
      "6211 success\n",
      "6212 success\n",
      "6213 success\n",
      "6214 success\n",
      "6215 success\n",
      "6216 success\n",
      "6217 success\n",
      "6218 success\n",
      "6219 success\n",
      "6220 success\n",
      "6221 success\n",
      "6222 success\n",
      "6223 success\n",
      "6224 success\n",
      "6225 success\n",
      "6226 success\n",
      "6227 success\n",
      "6228 success\n",
      "6229 success\n",
      "6230 success\n",
      "6231 success\n",
      "6232 success\n",
      "6233 success\n",
      "6234 success\n",
      "6235 success\n",
      "6236 success\n",
      "6237 success\n",
      "6238 success\n",
      "6239 success\n",
      "6240 success\n",
      "6241 success\n",
      "6242 success\n",
      "6243 success\n",
      "6244 success\n",
      "6245 success\n",
      "6246 success\n",
      "6247 success\n",
      "6248 success\n",
      "6249 success\n",
      "6250 success\n",
      "6251 success\n",
      "6252 success\n",
      "6253 success\n",
      "6254 success\n",
      "6255 success\n",
      "6256 success\n",
      "6257 success\n",
      "6258 success\n",
      "6259 success\n",
      "6260 success\n",
      "6261 success\n",
      "6262 success\n",
      "6263 success\n",
      "6264 success\n",
      "6265 success\n",
      "6266 success\n",
      "6267 success\n",
      "6268 success\n",
      "6269 success\n",
      "6270 success\n",
      "6271 success\n",
      "6272 success\n",
      "6273 success\n",
      "6274 success\n",
      "6275 success\n",
      "6276 success\n",
      "6277 success\n",
      "6278 success\n",
      "6279 success\n",
      "6280 success\n",
      "6281 success\n",
      "6282 success\n",
      "6283 success\n",
      "6284 success\n",
      "6285 success\n",
      "6286 success\n",
      "6287 success\n",
      "6288 success\n",
      "6289 success\n",
      "6290 success\n",
      "6291 success\n",
      "6292 success\n",
      "6293 success\n",
      "6294 success\n",
      "6295 success\n",
      "6296 success\n",
      "6297 success\n",
      "6298 success\n",
      "6299 success\n",
      "6300 success\n",
      "6301 success\n",
      "6302 success\n",
      "6303 success\n",
      "6304 success\n",
      "6305 success\n",
      "6306 success\n",
      "6307 success\n",
      "6308 success\n",
      "6309 success\n",
      "6310 success\n",
      "6311 success\n",
      "6312 success\n",
      "6313 success\n",
      "6314 success\n",
      "6315 success\n",
      "6316 success\n",
      "6317 success\n",
      "6318 success\n",
      "6319 success\n",
      "6320 success\n",
      "6321 success\n",
      "6322 success\n",
      "6323 success\n",
      "6324 success\n",
      "6325 success\n",
      "6326 success\n",
      "6327 success\n",
      "6328 success\n",
      "6329 success\n",
      "6330 success\n",
      "6331 success\n",
      "6332 success\n",
      "6333 success\n",
      "6334 success\n",
      "6335 success\n",
      "6336 success\n",
      "6337 success\n",
      "6338 success\n",
      "6339 success\n",
      "6340 success\n",
      "6341 success\n",
      "6342 success\n",
      "6343 success\n",
      "6344 success\n",
      "6345 success\n",
      "6346 success\n",
      "6347 success\n",
      "6348 success\n",
      "6349 success\n",
      "6350 success\n",
      "6351 success\n",
      "6352 success\n",
      "6353 success\n",
      "6354 success\n",
      "6355 success\n",
      "6356 success\n",
      "6357 success\n",
      "6358 success\n",
      "6359 success\n",
      "6360 success\n",
      "6361 success\n",
      "6362 success\n",
      "6363 success\n",
      "6364 success\n",
      "6365 success\n",
      "6366 success\n",
      "6367 success\n",
      "6368 success\n",
      "6369 success\n",
      "6370 success\n",
      "6371 success\n",
      "6372 success\n",
      "6373 success\n",
      "6374 success\n",
      "6375 success\n",
      "6376 success\n",
      "6377 success\n",
      "6378 success\n",
      "6379 success\n",
      "6380 success\n",
      "6381 success\n",
      "6382 success\n",
      "6383 success\n",
      "6384 success\n",
      "6385 success\n",
      "6386 success\n",
      "6387 success\n",
      "6388 success\n",
      "6389 success\n",
      "6390 success\n",
      "6391 success\n",
      "6392 success\n",
      "6393 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6394 success\n",
      "6395 success\n",
      "6396 success\n",
      "6397 success\n",
      "6398 success\n",
      "6399 success\n",
      "6400 success\n",
      "6401 success\n",
      "6402 success\n",
      "6403 success\n",
      "6404 success\n",
      "6405 success\n",
      "6406 success\n",
      "6407 success\n",
      "6408 success\n",
      "6409 success\n",
      "6410 success\n",
      "6411 success\n",
      "6412 success\n",
      "6413 success\n",
      "6414 success\n",
      "6415 success\n",
      "6416 success\n",
      "6417 success\n",
      "6418 success\n",
      "6419 success\n",
      "6420 success\n",
      "6421 success\n",
      "6422 success\n",
      "6423 success\n",
      "6424 success\n",
      "6425 success\n",
      "6426 success\n",
      "6427 success\n",
      "6428 success\n",
      "6429 success\n",
      "6430 success\n",
      "6431 success\n",
      "6432 success\n",
      "6433 success\n",
      "6434 success\n",
      "6435 success\n",
      "6436 success\n",
      "6437 success\n",
      "6438 success\n",
      "6439 success\n",
      "6440 success\n",
      "6441 success\n",
      "6442 success\n",
      "6443 success\n",
      "6444 success\n",
      "6445 success\n",
      "6446 success\n",
      "6447 success\n",
      "6448 success\n",
      "6449 success\n",
      "6450 success\n",
      "6451 success\n",
      "6452 success\n",
      "6453 success\n",
      "6454 success\n",
      "6455 success\n",
      "6456 success\n",
      "6457 success\n",
      "6458 success\n",
      "6459 success\n",
      "6460 success\n",
      "6461 success\n",
      "6462 success\n",
      "6463 success\n",
      "6464 success\n",
      "6465 success\n",
      "6466 success\n",
      "6467 success\n",
      "6468 success\n",
      "6469 success\n",
      "6470 success\n",
      "6471 success\n",
      "6472 success\n",
      "6473 success\n",
      "6474 success\n",
      "6475 success\n",
      "6476 success\n",
      "6477 success\n",
      "6478 success\n",
      "6479 success\n",
      "6480 success\n",
      "6481 success\n",
      "6482 success\n",
      "6483 success\n",
      "6484 success\n",
      "6485 success\n",
      "6486 success\n",
      "6487 success\n",
      "6488 success\n",
      "6489 success\n",
      "6490 success\n",
      "6491 success\n",
      "6492 success\n",
      "6493 success\n",
      "6494 success\n",
      "6495 success\n",
      "6496 success\n",
      "6497 success\n",
      "6498 success\n",
      "6499 success\n",
      "6500 success\n",
      "6501 success\n",
      "6502 success\n",
      "6503 success\n",
      "6504 success\n",
      "6505 success\n",
      "6506 success\n",
      "6507 success\n",
      "6508 success\n",
      "6509 success\n",
      "6510 success\n",
      "6511 success\n",
      "6512 success\n",
      "6513 success\n",
      "6514 success\n",
      "6515 success\n",
      "6516 success\n",
      "6517 success\n",
      "6518 success\n",
      "6519 success\n",
      "6520 success\n",
      "6521 success\n",
      "6522 success\n",
      "6523 success\n",
      "6524 success\n",
      "6525 success\n",
      "6526 success\n",
      "6527 success\n",
      "6528 success\n",
      "6529 success\n",
      "6530 success\n",
      "6531 success\n",
      "6532 success\n",
      "6533 success\n",
      "6534 success\n",
      "6535 success\n",
      "6536 success\n",
      "6537 success\n",
      "6538 success\n",
      "6539 success\n",
      "6540 success\n",
      "6541 success\n",
      "6542 success\n",
      "6543 success\n",
      "6544 success\n",
      "6545 success\n",
      "6546 success\n",
      "6547 success\n",
      "6548 success\n",
      "6549 success\n",
      "6550 success\n",
      "6551 success\n",
      "6552 success\n",
      "6553 success\n",
      "6554 success\n",
      "6555 success\n",
      "6556 success\n",
      "6557 success\n",
      "6558 success\n",
      "6559 success\n",
      "6560 success\n",
      "6561 success\n",
      "6562 success\n",
      "6563 success\n",
      "6564 success\n",
      "6565 success\n",
      "6566 success\n",
      "6567 success\n",
      "6568 success\n",
      "6569 success\n",
      "6570 success\n",
      "6571 success\n",
      "6572 success\n",
      "6573 success\n",
      "6574 success\n",
      "6575 success\n",
      "6576 success\n",
      "6577 success\n",
      "6578 success\n",
      "6579 success\n",
      "6580 success\n",
      "6581 success\n",
      "6582 success\n",
      "6583 success\n",
      "6584 success\n",
      "6585 success\n",
      "6586 success\n",
      "6587 success\n",
      "6588 success\n",
      "6589 success\n",
      "6590 success\n",
      "6591 success\n",
      "6592 success\n",
      "6593 success\n",
      "6594 success\n",
      "6595 success\n",
      "6596 success\n",
      "6597 success\n",
      "6598 success\n",
      "6599 success\n",
      "6600 success\n",
      "6601 success\n",
      "6602 success\n",
      "6603 success\n",
      "6604 success\n",
      "6605 success\n",
      "6606 success\n",
      "6607 success\n",
      "6608 success\n",
      "6609 success\n",
      "6610 success\n",
      "6611 success\n",
      "6612 success\n",
      "6613 success\n",
      "6614 success\n",
      "6615 success\n",
      "6616 success\n",
      "6617 success\n",
      "6618 success\n",
      "6619 success\n",
      "6620 success\n",
      "6621 success\n",
      "6622 success\n",
      "6623 success\n",
      "6624 success\n",
      "6625 success\n",
      "6626 success\n",
      "6627 success\n",
      "6628 success\n",
      "6629 success\n",
      "6630 success\n",
      "6631 success\n",
      "6632 success\n",
      "6633 success\n",
      "6634 success\n",
      "6635 success\n",
      "6636 success\n",
      "6637 success\n",
      "6638 success\n",
      "6639 success\n",
      "6640 success\n",
      "6641 success\n",
      "6642 success\n",
      "6643 success\n",
      "6644 success\n",
      "6645 success\n",
      "6646 success\n",
      "6647 success\n",
      "6648 success\n",
      "6649 success\n",
      "6650 success\n",
      "6651 success\n",
      "6652 success\n",
      "6653 success\n",
      "6654 success\n",
      "6655 success\n",
      "6656 success\n",
      "6657 success\n",
      "6658 success\n",
      "6659 success\n",
      "6660 success\n",
      "6661 success\n",
      "6662 success\n",
      "6663 success\n",
      "6664 success\n",
      "6665 success\n",
      "6666 success\n",
      "6667 success\n",
      "6668 success\n",
      "6669 success\n",
      "6670 success\n",
      "6671 success\n",
      "6672 success\n",
      "6673 success\n",
      "6674 success\n",
      "6675 success\n",
      "6676 success\n",
      "6677 success\n",
      "6678 success\n",
      "6679 success\n",
      "6680 success\n",
      "6681 success\n",
      "6682 success\n",
      "6683 success\n",
      "6684 success\n",
      "6685 success\n",
      "6686 success\n",
      "6687 success\n",
      "6688 success\n",
      "6689 success\n",
      "6690 success\n",
      "6691 success\n",
      "6692 success\n",
      "6693 success\n",
      "6694 success\n",
      "6695 success\n",
      "6696 success\n",
      "6697 success\n",
      "6698 success\n",
      "6699 success\n",
      "6700 success\n",
      "6701 success\n",
      "6702 success\n",
      "6703 success\n",
      "6704 success\n",
      "6705 success\n",
      "6706 success\n",
      "6707 success\n",
      "6708 success\n",
      "6709 success\n",
      "6710 success\n",
      "6711 success\n",
      "6712 success\n",
      "6713 success\n",
      "6714 success\n",
      "6715 success\n",
      "6716 success\n",
      "6717 success\n",
      "6718 success\n",
      "6719 success\n",
      "6720 success\n",
      "6721 success\n",
      "6722 success\n",
      "6723 success\n",
      "6724 success\n",
      "6725 success\n",
      "6726 success\n",
      "6727 success\n",
      "6728 success\n",
      "6729 success\n",
      "6730 success\n",
      "6731 success\n",
      "6732 success\n",
      "6733 success\n",
      "6734 success\n",
      "6735 success\n",
      "6736 success\n",
      "6737 success\n",
      "6738 success\n",
      "6739 success\n",
      "6740 success\n",
      "6741 success\n",
      "6742 success\n",
      "6743 success\n",
      "6744 success\n",
      "6745 success\n",
      "6746 success\n",
      "6747 success\n",
      "6748 success\n",
      "6749 success\n",
      "6750 success\n",
      "6751 success\n",
      "6752 success\n",
      "6753 success\n",
      "6754 success\n",
      "6755 success\n",
      "6756 success\n",
      "6757 success\n",
      "6758 success\n",
      "6759 success\n",
      "6760 success\n",
      "6761 success\n",
      "6762 success\n",
      "6763 success\n",
      "6764 success\n",
      "6765 success\n",
      "6766 success\n",
      "6767 success\n",
      "6768 success\n",
      "6769 success\n",
      "6770 success\n",
      "6771 success\n",
      "6772 success\n",
      "6773 success\n",
      "6774 success\n",
      "6775 success\n",
      "6776 success\n",
      "6777 success\n",
      "6778 success\n",
      "6779 success\n",
      "6780 success\n",
      "6781 success\n",
      "6782 success\n",
      "6783 success\n",
      "6784 success\n",
      "6785 success\n",
      "6786 success\n",
      "6787 success\n",
      "6788 success\n",
      "6789 success\n",
      "6790 success\n",
      "6791 success\n",
      "6792 success\n",
      "6793 success\n",
      "6794 success\n",
      "6795 success\n",
      "6796 success\n",
      "6797 success\n",
      "6798 success\n",
      "6799 success\n",
      "6800 success\n",
      "6801 success\n",
      "6802 success\n",
      "6803 success\n",
      "6804 success\n",
      "6805 success\n",
      "6806 success\n",
      "6807 success\n",
      "6808 success\n",
      "6809 success\n",
      "6810 success\n",
      "6811 success\n",
      "6812 success\n",
      "6813 success\n",
      "6814 success\n",
      "6815 success\n",
      "6816 success\n",
      "6817 success\n",
      "6818 success\n",
      "6819 success\n",
      "6820 success\n",
      "6821 success\n",
      "6822 success\n",
      "6823 success\n",
      "6824 success\n",
      "6825 success\n",
      "6826 success\n",
      "6827 success\n",
      "6828 success\n",
      "6829 success\n",
      "6830 success\n",
      "6831 success\n",
      "6832 success\n",
      "6833 success\n",
      "6834 success\n",
      "6835 success\n",
      "6836 success\n",
      "6837 success\n",
      "6838 success\n",
      "6839 success\n",
      "6840 success\n",
      "6841 success\n",
      "6842 success\n",
      "6843 success\n",
      "6844 success\n",
      "6845 success\n",
      "6846 success\n",
      "6847 success\n",
      "6848 success\n",
      "6849 success\n",
      "6850 success\n",
      "6851 success\n",
      "6852 success\n",
      "6853 success\n",
      "6854 success\n",
      "6855 success\n",
      "6856 success\n",
      "6857 success\n",
      "6858 success\n",
      "6859 success\n",
      "6860 success\n",
      "6861 success\n",
      "6862 success\n",
      "6863 success\n",
      "6864 success\n",
      "6865 success\n",
      "6866 success\n",
      "6867 success\n",
      "6868 success\n",
      "6869 success\n",
      "6870 success\n",
      "6871 success\n",
      "6872 success\n",
      "6873 success\n",
      "6874 success\n",
      "6875 success\n",
      "6876 success\n",
      "6877 success\n",
      "6878 success\n",
      "6879 success\n",
      "6880 success\n",
      "6881 success\n",
      "6882 success\n",
      "6883 success\n",
      "6884 success\n",
      "6885 success\n",
      "6886 success\n",
      "6887 success\n",
      "6888 success\n",
      "6889 success\n",
      "6890 success\n",
      "6891 success\n",
      "6892 success\n",
      "6893 success\n",
      "6894 success\n",
      "6895 success\n",
      "6896 success\n",
      "6897 success\n",
      "6898 success\n",
      "6899 success\n",
      "6900 success\n",
      "6901 success\n",
      "6902 success\n",
      "6903 success\n",
      "6904 success\n",
      "6905 success\n",
      "6906 success\n",
      "6907 success\n",
      "6908 success\n",
      "6909 success\n",
      "6910 success\n",
      "6911 success\n",
      "6912 success\n",
      "6913 success\n",
      "6914 success\n",
      "6915 success\n",
      "6916 success\n",
      "6917 success\n",
      "6918 success\n",
      "6919 success\n",
      "6920 success\n",
      "6921 success\n",
      "6922 success\n",
      "6923 success\n",
      "6924 success\n",
      "6925 success\n",
      "6926 success\n",
      "6927 success\n",
      "6928 success\n",
      "6929 success\n",
      "6930 success\n",
      "6931 success\n",
      "6932 success\n",
      "6933 success\n",
      "6934 success\n",
      "6935 success\n",
      "6936 success\n",
      "6937 success\n",
      "6938 success\n",
      "6939 success\n",
      "6940 success\n",
      "6941 success\n",
      "6942 success\n",
      "6943 success\n",
      "6944 success\n",
      "6945 success\n",
      "6946 success\n",
      "6947 success\n",
      "6948 success\n",
      "6949 success\n",
      "6950 success\n",
      "6951 success\n",
      "6952 success\n",
      "6953 success\n",
      "6954 success\n",
      "6955 success\n",
      "6956 success\n",
      "6957 success\n",
      "6958 success\n",
      "6959 success\n",
      "6960 success\n",
      "6961 success\n",
      "6962 success\n",
      "6963 success\n",
      "6964 success\n",
      "6965 success\n",
      "6966 success\n",
      "6967 success\n",
      "6968 success\n",
      "6969 success\n",
      "6970 success\n",
      "6971 success\n",
      "6972 success\n",
      "6973 success\n",
      "6974 success\n",
      "6975 success\n",
      "6976 success\n",
      "6977 success\n",
      "6978 success\n",
      "6979 success\n",
      "6980 success\n",
      "6981 success\n",
      "6982 success\n",
      "6983 success\n",
      "6984 success\n",
      "6985 success\n",
      "6986 success\n",
      "6987 success\n",
      "6988 success\n",
      "6989 success\n",
      "6990 success\n",
      "6991 success\n",
      "6992 success\n",
      "6993 success\n",
      "6994 success\n",
      "6995 success\n",
      "6996 success\n",
      "6997 success\n",
      "6998 success\n",
      "6999 success\n",
      "7000 success\n",
      "7001 success\n",
      "7002 success\n",
      "7003 success\n",
      "7004 success\n",
      "7005 success\n",
      "7006 success\n",
      "7007 success\n",
      "7008 success\n",
      "7009 success\n",
      "7010 success\n",
      "7011 success\n",
      "7012 success\n",
      "7013 success\n",
      "7014 success\n",
      "7015 success\n",
      "7016 success\n",
      "7017 success\n",
      "7018 success\n",
      "7019 success\n",
      "7020 success\n",
      "7021 success\n",
      "7022 success\n",
      "7023 success\n",
      "7024 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "7025 success\n",
      "7026 success\n",
      "7027 success\n",
      "7028 success\n",
      "7029 success\n",
      "7030 success\n",
      "7031 success\n",
      "7032 success\n",
      "7033 success\n",
      "7034 success\n",
      "7035 success\n",
      "7036 success\n",
      "7037 success\n",
      "7038 success\n",
      "7039 success\n",
      "7040 success\n",
      "7041 success\n",
      "7042 success\n",
      "7043 success\n",
      "7044 success\n",
      "7045 success\n",
      "7046 success\n",
      "7047 success\n",
      "7048 success\n",
      "7049 success\n",
      "7050 success\n",
      "7051 success\n",
      "7052 success\n",
      "7053 success\n",
      "7054 success\n",
      "7055 success\n",
      "7056 success\n",
      "7057 success\n",
      "7058 success\n",
      "7059 success\n",
      "7060 success\n",
      "7061 success\n",
      "7062 success\n",
      "7063 success\n",
      "7064 success\n",
      "7065 success\n",
      "7066 success\n",
      "7067 success\n",
      "7068 success\n",
      "7069 success\n",
      "7070 success\n",
      "7071 success\n",
      "7072 success\n",
      "7073 success\n",
      "7074 success\n",
      "7075 success\n",
      "7076 success\n",
      "7077 success\n",
      "7078 success\n",
      "7079 success\n",
      "7080 success\n",
      "7081 success\n",
      "7082 success\n",
      "7083 success\n",
      "7084 success\n",
      "7085 success\n",
      "7086 success\n",
      "7087 success\n",
      "7088 success\n",
      "7089 success\n",
      "7090 success\n",
      "7091 success\n",
      "7092 success\n",
      "7093 success\n",
      "7094 success\n",
      "7095 success\n",
      "7096 success\n",
      "7097 success\n",
      "7098 success\n",
      "7099 success\n",
      "7100 success\n",
      "7101 success\n",
      "7102 success\n",
      "7103 success\n",
      "7104 success\n",
      "7105 success\n",
      "7106 success\n",
      "7107 success\n",
      "7108 success\n",
      "7109 success\n",
      "7110 success\n",
      "7111 success\n",
      "7112 success\n",
      "7113 success\n",
      "7114 success\n",
      "7115 success\n",
      "7116 success\n",
      "7117 success\n",
      "7118 success\n",
      "7119 success\n",
      "7120 success\n",
      "7121 success\n",
      "7122 success\n",
      "7123 success\n",
      "7124 success\n",
      "7125 success\n",
      "7126 success\n",
      "7127 success\n",
      "7128 success\n",
      "7129 success\n",
      "7130 success\n",
      "7131 success\n",
      "7132 success\n",
      "7133 success\n",
      "7134 success\n",
      "7135 success\n",
      "7136 success\n",
      "7137 success\n",
      "7138 success\n",
      "7139 success\n",
      "7140 success\n",
      "7141 success\n",
      "7142 success\n",
      "7143 success\n",
      "7144 success\n",
      "7145 success\n",
      "7146 success\n",
      "7147 success\n",
      "7148 success\n",
      "7149 success\n",
      "7150 success\n",
      "7151 success\n",
      "7152 success\n",
      "7153 success\n",
      "7154 success\n",
      "7155 success\n",
      "7156 success\n",
      "7157 success\n",
      "7158 success\n",
      "7159 success\n",
      "7160 success\n",
      "7161 success\n",
      "7162 success\n",
      "7163 success\n",
      "7164 success\n",
      "7165 success\n",
      "7166 success\n",
      "7167 success\n",
      "7168 success\n",
      "7169 success\n",
      "7170 success\n",
      "7171 success\n",
      "7172 success\n",
      "7173 success\n",
      "7174 success\n",
      "7175 success\n",
      "7176 success\n",
      "7177 success\n",
      "7178 success\n",
      "7179 success\n",
      "7180 success\n",
      "7181 success\n",
      "7182 success\n",
      "7183 success\n",
      "7184 success\n",
      "7185 success\n",
      "7186 success\n",
      "7187 success\n",
      "7188 success\n",
      "7189 success\n",
      "7190 success\n",
      "7191 success\n",
      "7192 success\n",
      "7193 success\n",
      "7194 success\n",
      "7195 success\n",
      "7196 success\n",
      "7197 success\n",
      "7198 success\n",
      "7199 success\n",
      "7200 success\n",
      "7201 success\n",
      "7202 success\n",
      "7203 success\n",
      "7204 success\n",
      "7205 success\n",
      "7206 success\n",
      "7207 success\n",
      "7208 success\n",
      "7209 success\n",
      "7210 success\n",
      "7211 success\n",
      "7212 success\n",
      "7213 success\n",
      "7214 success\n",
      "7215 success\n",
      "7216 success\n",
      "7217 success\n",
      "7218 success\n",
      "7219 success\n",
      "7220 success\n",
      "7221 success\n",
      "7222 success\n",
      "7223 success\n",
      "7224 success\n",
      "7225 success\n",
      "7226 success\n",
      "7227 success\n",
      "7228 success\n",
      "7229 success\n",
      "7230 success\n",
      "7231 success\n",
      "7232 success\n",
      "7233 success\n",
      "7234 success\n",
      "7235 success\n",
      "7236 success\n",
      "7237 success\n",
      "7238 success\n",
      "7239 success\n",
      "7240 success\n",
      "7241 success\n",
      "7242 success\n",
      "7243 success\n",
      "7244 success\n",
      "7245 success\n",
      "7246 success\n",
      "7247 success\n",
      "7248 success\n",
      "7249 success\n",
      "7250 success\n",
      "7251 success\n",
      "7252 success\n",
      "7253 success\n",
      "7254 success\n",
      "7255 success\n",
      "7256 success\n",
      "7257 success\n",
      "7258 success\n",
      "7259 success\n",
      "7260 success\n",
      "7261 success\n",
      "7262 success\n",
      "7263 success\n",
      "7264 success\n",
      "7265 success\n",
      "7266 success\n",
      "7267 success\n",
      "7268 success\n",
      "7269 success\n",
      "7270 success\n",
      "7271 success\n",
      "7272 success\n",
      "7273 success\n",
      "7274 success\n",
      "7275 success\n",
      "7276 success\n",
      "7277 success\n",
      "7278 success\n",
      "7279 success\n",
      "7280 success\n",
      "7281 success\n",
      "7282 success\n",
      "7283 success\n",
      "7284 success\n",
      "7285 success\n",
      "7286 success\n",
      "7287 success\n",
      "7288 success\n",
      "7289 success\n",
      "7290 success\n",
      "7291 success\n",
      "7292 success\n",
      "7293 success\n",
      "7294 success\n",
      "7295 success\n",
      "7296 success\n",
      "7297 success\n",
      "7298 success\n",
      "7299 success\n",
      "7300 success\n",
      "7301 success\n",
      "7302 success\n",
      "7303 success\n",
      "7304 success\n",
      "7305 success\n",
      "7306 success\n",
      "7307 success\n",
      "7308 success\n",
      "7309 success\n",
      "7310 success\n",
      "7311 success\n",
      "7312 success\n",
      "7313 success\n",
      "7314 success\n",
      "7315 success\n",
      "7316 success\n",
      "7317 success\n",
      "7318 success\n",
      "7319 success\n",
      "7320 success\n",
      "7321 success\n",
      "7322 success\n",
      "7323 success\n",
      "7324 success\n",
      "7325 success\n",
      "7326 success\n",
      "7327 success\n",
      "7328 success\n",
      "7329 success\n",
      "7330 success\n",
      "7331 success\n",
      "7332 success\n",
      "7333 success\n",
      "7334 success\n",
      "7335 success\n",
      "7336 success\n",
      "7337 success\n",
      "7338 success\n",
      "7339 success\n",
      "7340 success\n",
      "7341 success\n",
      "7342 success\n",
      "7343 success\n",
      "7344 success\n",
      "7345 success\n",
      "7346 success\n",
      "7347 success\n",
      "7348 success\n",
      "7349 success\n",
      "7350 success\n",
      "7351 success\n",
      "7352 success\n",
      "7353 success\n",
      "7354 success\n",
      "7355 success\n",
      "7356 success\n",
      "7357 success\n",
      "7358 success\n",
      "7359 success\n",
      "7360 success\n",
      "7361 success\n",
      "7362 success\n",
      "7363 success\n",
      "7364 success\n",
      "7365 success\n",
      "7366 success\n",
      "7367 success\n",
      "7368 success\n",
      "7369 success\n",
      "7370 success\n",
      "7371 success\n",
      "7372 success\n",
      "7373 success\n",
      "7374 success\n",
      "7375 success\n",
      "7376 success\n",
      "7377 success\n",
      "7378 success\n",
      "7379 success\n",
      "7380 success\n",
      "7381 success\n",
      "7382 success\n",
      "7383 success\n",
      "7384 success\n",
      "7385 success\n",
      "7386 success\n",
      "7387 success\n",
      "7388 success\n",
      "7389 success\n",
      "7390 success\n",
      "7391 success\n",
      "7392 success\n",
      "7393 success\n",
      "7394 success\n",
      "7395 success\n",
      "7396 success\n",
      "7397 success\n",
      "7398 success\n",
      "7399 success\n",
      "7400 success\n",
      "7401 success\n",
      "7402 success\n",
      "7403 success\n",
      "7404 success\n",
      "7405 success\n",
      "7406 success\n",
      "7407 success\n",
      "7408 success\n",
      "7409 success\n",
      "7410 success\n",
      "7411 success\n",
      "7412 success\n",
      "7413 success\n",
      "7414 success\n",
      "7415 success\n",
      "7416 success\n",
      "7417 success\n",
      "7418 success\n",
      "7419 success\n",
      "7420 success\n",
      "7421 success\n",
      "7422 success\n",
      "7423 success\n",
      "7424 success\n",
      "7425 success\n",
      "7426 success\n",
      "7427 success\n",
      "7428 success\n",
      "7429 success\n",
      "7430 success\n",
      "7431 success\n",
      "7432 success\n",
      "7433 success\n",
      "7434 success\n",
      "7435 success\n",
      "7436 success\n",
      "7437 success\n",
      "7438 success\n",
      "7439 success\n",
      "7440 success\n",
      "7441 success\n",
      "7442 success\n",
      "7443 success\n",
      "7444 success\n",
      "7445 success\n",
      "7446 success\n",
      "7447 success\n",
      "7448 success\n",
      "7449 success\n",
      "7450 success\n",
      "7451 success\n",
      "7452 success\n",
      "7453 success\n",
      "7454 success\n",
      "7455 success\n",
      "7456 success\n",
      "7457 success\n",
      "7458 success\n",
      "7459 success\n",
      "7460 success\n",
      "7461 success\n",
      "7462 success\n",
      "7463 success\n",
      "7464 success\n",
      "7465 success\n",
      "7466 success\n",
      "7467 success\n",
      "7468 success\n",
      "7469 success\n",
      "7470 success\n",
      "7471 success\n",
      "7472 success\n",
      "7473 success\n",
      "7474 success\n",
      "7475 success\n",
      "7476 success\n",
      "7477 success\n",
      "7478 success\n",
      "7479 success\n",
      "7480 success\n",
      "7481 success\n",
      "7482 success\n",
      "7483 success\n",
      "7484 success\n",
      "7485 success\n",
      "7486 success\n",
      "7487 success\n",
      "7488 success\n",
      "7489 success\n",
      "7490 success\n",
      "7491 success\n",
      "7492 success\n",
      "7493 success\n",
      "7494 success\n",
      "7495 success\n",
      "7496 success\n",
      "7497 success\n",
      "7498 success\n",
      "7499 success\n",
      "7500 success\n",
      "7501 success\n",
      "7502 success\n",
      "7503 success\n",
      "7504 success\n",
      "7505 success\n",
      "7506 success\n",
      "7507 success\n",
      "7508 success\n",
      "7509 success\n",
      "7510 success\n",
      "7511 success\n",
      "7512 success\n",
      "7513 success\n",
      "7514 success\n",
      "7515 success\n",
      "7516 success\n",
      "7517 success\n",
      "7518 success\n",
      "7519 success\n",
      "7520 success\n",
      "7521 success\n",
      "7522 success\n",
      "7523 success\n",
      "7524 success\n",
      "7525 success\n",
      "7526 success\n",
      "7527 success\n",
      "7528 success\n",
      "7529 success\n",
      "7530 success\n",
      "7531 success\n",
      "7532 success\n",
      "7533 success\n",
      "7534 success\n",
      "7535 success\n",
      "7536 success\n",
      "7537 success\n",
      "7538 success\n",
      "7539 success\n",
      "7540 success\n",
      "7541 success\n",
      "7542 success\n",
      "7543 success\n",
      "7544 success\n",
      "7545 success\n",
      "7546 success\n",
      "7547 success\n",
      "7548 success\n",
      "7549 success\n",
      "7550 success\n",
      "7551 success\n",
      "7552 success\n",
      "7553 success\n",
      "7554 success\n",
      "7555 success\n",
      "7556 success\n",
      "7557 success\n",
      "7558 success\n",
      "7559 success\n",
      "7560 success\n",
      "7561 success\n",
      "7562 success\n",
      "7563 success\n",
      "7564 success\n",
      "7565 success\n",
      "7566 success\n",
      "7567 success\n",
      "7568 success\n",
      "7569 success\n",
      "7570 success\n",
      "7571 success\n",
      "7572 success\n",
      "7573 success\n",
      "7574 success\n",
      "7575 success\n",
      "7576 success\n",
      "7577 success\n",
      "7578 success\n",
      "7579 success\n",
      "7580 success\n",
      "7581 success\n",
      "7582 success\n",
      "7583 success\n",
      "7584 success\n",
      "7585 success\n",
      "7586 success\n",
      "7587 success\n",
      "7588 success\n",
      "7589 success\n",
      "7590 success\n",
      "7591 success\n",
      "7592 success\n",
      "7593 success\n",
      "7594 success\n",
      "7595 success\n",
      "7596 success\n",
      "7597 success\n",
      "7598 success\n",
      "7599 success\n",
      "7600 success\n",
      "7601 success\n",
      "7602 success\n",
      "7603 success\n",
      "7604 success\n",
      "7605 success\n",
      "7606 success\n",
      "7607 success\n",
      "7608 success\n",
      "7609 success\n",
      "7610 success\n",
      "7611 success\n",
      "7612 success\n",
      "7613 success\n",
      "7614 success\n",
      "7615 success\n",
      "7616 success\n",
      "7617 success\n",
      "7618 success\n",
      "7619 success\n",
      "7620 success\n",
      "7621 success\n",
      "7622 success\n",
      "7623 success\n",
      "7624 success\n",
      "7625 success\n",
      "7626 success\n",
      "7627 success\n",
      "7628 success\n",
      "7629 success\n",
      "7630 success\n",
      "7631 success\n",
      "7632 success\n",
      "7633 success\n",
      "7634 success\n",
      "7635 success\n",
      "7636 success\n",
      "7637 success\n",
      "7638 success\n",
      "7639 success\n",
      "7640 success\n",
      "7641 success\n",
      "7642 success\n",
      "7643 success\n",
      "7644 success\n",
      "7645 success\n",
      "7646 success\n",
      "7647 success\n",
      "7648 success\n",
      "7649 success\n",
      "7650 success\n",
      "7651 success\n",
      "7652 success\n",
      "7653 success\n",
      "7654 success\n",
      "7655 success\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "7656 success\n",
      "7657 success\n",
      "7658 success\n",
      "7659 success\n",
      "7660 success\n",
      "7661 success\n",
      "7662 success\n",
      "7663 success\n",
      "7664 success\n",
      "7665 success\n",
      "7666 success\n",
      "7667 success\n",
      "7668 success\n",
      "7669 success\n",
      "7670 success\n",
      "7671 success\n",
      "7672 success\n",
      "7673 success\n",
      "7674 success\n",
      "7675 success\n",
      "7676 success\n",
      "7677 success\n",
      "7678 success\n",
      "7679 success\n",
      "7680 success\n",
      "7681 success\n",
      "7682 success\n",
      "7683 success\n",
      "7684 success\n",
      "7685 success\n",
      "7686 success\n",
      "7687 success\n",
      "7688 success\n",
      "7689 success\n",
      "7690 success\n",
      "7691 success\n",
      "7692 success\n",
      "7693 success\n",
      "7694 success\n",
      "7695 success\n",
      "7696 success\n",
      "7697 success\n",
      "7698 success\n",
      "7699 success\n",
      "7700 success\n",
      "7701 success\n",
      "7702 success\n",
      "7703 success\n",
      "7704 success\n",
      "7705 success\n",
      "7706 success\n",
      "7707 success\n",
      "7708 success\n",
      "7709 success\n",
      "7710 success\n",
      "7711 success\n",
      "7712 success\n",
      "7713 success\n",
      "7714 success\n",
      "7715 success\n",
      "7716 success\n",
      "7717 success\n",
      "7718 success\n",
      "7719 success\n",
      "7720 success\n",
      "7721 success\n",
      "7722 success\n",
      "7723 success\n",
      "7724 success\n",
      "7725 success\n",
      "7726 success\n",
      "7727 success\n",
      "7728 success\n",
      "7729 success\n",
      "7730 success\n",
      "7731 success\n",
      "7732 success\n",
      "7733 success\n",
      "7734 success\n",
      "7735 success\n",
      "7736 success\n",
      "7737 success\n",
      "7738 success\n",
      "7739 success\n",
      "7740 success\n",
      "7741 success\n",
      "7742 success\n",
      "7743 success\n",
      "7744 success\n",
      "7745 success\n",
      "7746 success\n",
      "7747 success\n",
      "7748 success\n",
      "7749 success\n",
      "7750 success\n",
      "7751 success\n",
      "7752 success\n",
      "7753 success\n",
      "7754 success\n",
      "7755 success\n",
      "7756 success\n",
      "7757 success\n",
      "7758 success\n",
      "7759 success\n",
      "7760 success\n",
      "7761 success\n",
      "7762 success\n",
      "7763 success\n",
      "7764 success\n",
      "7765 success\n",
      "7766 success\n",
      "7767 success\n",
      "7768 success\n",
      "7769 success\n",
      "7770 success\n",
      "7771 success\n",
      "7772 success\n",
      "7773 success\n",
      "7774 success\n",
      "7775 success\n",
      "7776 success\n",
      "7777 success\n",
      "7778 success\n",
      "7779 success\n",
      "7780 success\n",
      "7781 success\n",
      "7782 success\n",
      "7783 success\n",
      "7784 success\n",
      "7785 success\n",
      "7786 success\n",
      "7787 success\n",
      "7788 success\n",
      "7789 success\n",
      "7790 success\n",
      "7791 success\n",
      "7792 success\n",
      "7793 success\n",
      "7794 success\n",
      "7795 success\n",
      "7796 success\n",
      "7797 success\n",
      "7798 success\n",
      "7799 success\n",
      "7800 success\n",
      "7801 success\n",
      "7802 success\n",
      "7803 success\n",
      "7804 success\n",
      "7805 success\n",
      "7806 success\n",
      "7807 success\n",
      "7808 success\n",
      "7809 success\n",
      "7810 success\n",
      "7811 success\n",
      "7812 success\n",
      "7813 success\n",
      "7814 success\n",
      "7815 success\n",
      "7816 success\n",
      "7817 success\n",
      "7818 success\n",
      "7819 success\n",
      "7820 success\n",
      "7821 success\n",
      "7822 success\n",
      "7823 success\n",
      "7824 success\n",
      "7825 success\n",
      "7826 success\n",
      "7827 success\n",
      "7828 success\n",
      "7829 success\n",
      "7830 success\n",
      "7831 success\n",
      "7832 success\n",
      "7833 success\n",
      "7834 success\n",
      "7835 success\n",
      "7836 success\n",
      "7837 success\n",
      "7838 success\n",
      "7839 success\n",
      "7840 success\n",
      "7841 success\n",
      "7842 success\n",
      "7843 success\n",
      "7844 success\n",
      "7845 success\n",
      "7846 success\n",
      "7847 success\n",
      "7848 success\n",
      "7849 success\n",
      "7850 success\n",
      "7851 success\n",
      "7852 success\n",
      "7853 success\n",
      "7854 success\n",
      "7855 success\n",
      "7856 success\n",
      "7857 success\n",
      "7858 success\n",
      "7859 success\n",
      "7860 success\n",
      "7861 success\n",
      "7862 success\n",
      "7863 success\n",
      "7864 success\n",
      "7865 success\n",
      "7866 success\n",
      "7867 success\n",
      "7868 success\n",
      "7869 success\n",
      "7870 success\n",
      "7871 success\n",
      "7872 success\n",
      "7873 success\n",
      "7874 success\n",
      "7875 success\n",
      "7876 success\n",
      "7877 success\n",
      "7878 success\n",
      "7879 success\n",
      "7880 success\n",
      "7881 success\n",
      "7882 success\n",
      "7883 success\n",
      "7884 success\n",
      "7885 success\n",
      "7886 success\n",
      "7887 success\n",
      "7888 success\n",
      "7889 success\n",
      "7890 success\n",
      "7891 success\n",
      "7892 success\n",
      "7893 success\n",
      "7894 success\n",
      "7895 success\n",
      "7896 success\n",
      "7897 success\n",
      "7898 success\n",
      "7899 success\n",
      "7900 success\n",
      "7901 success\n",
      "7902 success\n",
      "7903 success\n",
      "7904 success\n",
      "7905 success\n",
      "7906 success\n",
      "7907 success\n",
      "7908 success\n",
      "7909 success\n",
      "7910 success\n",
      "7911 success\n",
      "7912 success\n",
      "7913 success\n",
      "7914 success\n",
      "7915 success\n",
      "7916 success\n",
      "7917 success\n",
      "7918 success\n",
      "7919 success\n",
      "7920 success\n",
      "7921 success\n",
      "7922 success\n",
      "7923 success\n",
      "7924 success\n",
      "7925 success\n",
      "7926 success\n",
      "7927 success\n",
      "7928 success\n",
      "7929 success\n",
      "7930 success\n",
      "7931 success\n",
      "7932 success\n",
      "7933 success\n",
      "7934 success\n",
      "7935 success\n",
      "7936 success\n",
      "7937 success\n",
      "7938 success\n",
      "7939 success\n",
      "7940 success\n",
      "7941 success\n",
      "7942 success\n",
      "7943 success\n",
      "7944 success\n",
      "7945 success\n",
      "7946 success\n",
      "7947 success\n",
      "7948 success\n",
      "7949 success\n",
      "7950 success\n",
      "7951 success\n",
      "7952 success\n",
      "7953 success\n",
      "7954 success\n",
      "7955 success\n",
      "7956 success\n",
      "7957 success\n",
      "7958 success\n",
      "7959 success\n",
      "7960 success\n",
      "7961 success\n",
      "7962 success\n",
      "7963 success\n",
      "7964 success\n",
      "7965 success\n",
      "7966 success\n",
      "7967 success\n",
      "7968 success\n",
      "7969 success\n",
      "7970 success\n",
      "7971 success\n",
      "7972 success\n",
      "7973 success\n",
      "7974 success\n",
      "7975 success\n",
      "7976 success\n",
      "7977 success\n",
      "7978 success\n",
      "7979 success\n",
      "7980 success\n",
      "7981 success\n",
      "7982 success\n",
      "7983 success\n",
      "7984 success\n",
      "7985 success\n",
      "7986 success\n",
      "7987 success\n",
      "7988 success\n",
      "7989 success\n",
      "7990 success\n",
      "7991 success\n",
      "7992 success\n",
      "7993 success\n",
      "7994 success\n",
      "7995 success\n",
      "7996 success\n",
      "7997 success\n",
      "7998 success\n",
      "7999 success\n"
     ]
    }
   ],
   "source": [
    "for i in range(length):\n",
    "    try:\n",
    "        parse_tree = dep_parser.raw_parse(sentences[i])\n",
    "        for trees in parse_tree:\n",
    "            tree = trees\n",
    "            \n",
    "        word2pos = dict((tree.nodes[k]['address'], j) for k,j in zip(tree.nodes, range(len(tree.nodes))))\n",
    "        pos2word = dict((j, tree.nodes[k]['address']) for k,j in zip(tree.nodes, range(len(tree.nodes))))\n",
    "\n",
    "        pos_tags_seq[i] = [tree.nodes[k]['tag'] for k in tree.nodes][1:]\n",
    "        words_seq[i] = [tree.nodes[k]['word'] for k in tree.nodes][1:]\n",
    "        deps_seq[i] = [tree.nodes[k]['rel'] for k in tree.nodes][1:]\n",
    "        \n",
    "        node1 = tree.nodes[e1[i]+1]\n",
    "        node2 = tree.nodes[e2[i]+1]\n",
    "        if node1['address']!=None and node2['address']!=None:\n",
    "            print(i, \"success\")\n",
    "            lca_node = lca(tree, node1, node2)\n",
    "            path1 = path_lca(tree, node1, lca_node)\n",
    "            path2 = path_lca(tree, node2, lca_node)[:-1]\n",
    "\n",
    "            word_path1[i] = [p[\"word\"] for p in path1]\n",
    "            word_path2[i] = [p[\"word\"] for p in path2]\n",
    "            dep_path1[i] = [p[\"rel\"] for p in path1]\n",
    "            dep_path2[i] = [p[\"rel\"] for p in path2]\n",
    "            pos_tags_path1[i] = [p[\"tag\"] for p in path1]\n",
    "            pos_tags_path2[i] = [p[\"tag\"] for p in path2]\n",
    "            \n",
    "            pos_path1[i] = [word2pos[node['address']] for node in path1]\n",
    "            pos_path2[i] = [word2pos[node['address']] for node in path2]\n",
    "            childs = [sorted(chain.from_iterable(node['deps'].values())) for node in path1]\n",
    "            childs_path1[i] = [[word2pos[c] for c in child] for child in childs]\n",
    "            childs = [sorted(chain.from_iterable(node['deps'].values())) for node in path2]\n",
    "            childs_path2[i] = [[word2pos[c] for c in child] for child in childs]\n",
    "        else:\n",
    "            print(i, node1[\"address\"], node2[\"address\"])\n",
    "    except AssertionError:\n",
    "        print(i, \"error\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "file = open('../data/train_pathsv3', 'wb')\n",
    "_pickle.dump([words_seq, deps_seq, pos_tags_seq, word_path1, word_path2, dep_path1, dep_path2, pos_tags_path1, pos_tags_path2, pos_path1, pos_path2, childs_path1, childs_path2], file)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
